Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9a6c5112 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add PASTIX_LIBRARIES_FORTRAN variable

parent e3283bf4
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
# PASTIX_INCLUDE_DIRS - pastix include directories # PASTIX_INCLUDE_DIRS - pastix include directories
# PASTIX_LIBRARY_DIRS - pastix link directories # PASTIX_LIBRARY_DIRS - pastix link directories
# PASTIX_LIBRARIES - pastix libraries to be linked (absolute path) # PASTIX_LIBRARIES - pastix libraries to be linked (absolute path)
# PASTIX_LIBRARIES_FORTRAN - pastix Fortran libraries to be linked (absolute path)
# PASTIX_CFLAGS_OTHER_DEP - pastix + dependencies compiler flags without headers paths # PASTIX_CFLAGS_OTHER_DEP - pastix + dependencies compiler flags without headers paths
# PASTIX_LDFLAGS_OTHER_DEP - pastix + dependencies linker flags without libraries # PASTIX_LDFLAGS_OTHER_DEP - pastix + dependencies linker flags without libraries
# PASTIX_INCLUDE_DIRS_DEP - pastix + dependencies include directories # PASTIX_INCLUDE_DIRS_DEP - pastix + dependencies include directories
...@@ -896,6 +897,18 @@ endif() ...@@ -896,6 +897,18 @@ endif()
mark_as_advanced(PASTIX_DIR) mark_as_advanced(PASTIX_DIR)
mark_as_advanced(PASTIX_DIR_FOUND) mark_as_advanced(PASTIX_DIR_FOUND)
if (PASTIX_LIBRARY_DIRS)
find_library(PASTIX_pastixf_LIBRARY
NAMES pastixf
HINTS ${PASTIX_LIBRARY_DIRS})
mark_as_advanced(PASTIX_pastixf_LIBRARY)
if (PASTIX_pastixf_LIBRARY)
set(PASTIX_LIBRARIES_FORTRAN ${PASTIX_pastixf_LIBRARY})
else()
set(PASTIX_LIBRARIES_FORTRAN "PASTIX_LIBRARIES_FORTRAN-NOTFOUND")
endif()
endif()
# check that PASTIX has been found # check that PASTIX has been found
# --------------------------------- # ---------------------------------
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment