-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jjwilke
committed
Mar 3, 2020
1 parent
d817b62
commit c4cb5be
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
IF (DEFINED CHOLMOD_LIBRARIES) | ||
#we were given the exact list of libraries to find | ||
KOKKOSKERNELS_FIND_IMPORTED(CHOLMOD INTERFACE | ||
LIBRARIES ${CHOLMOD_LIBRARIES} | ||
LIBRARY_PATHS ${CHOLMOD_LIBRARY_DIRS} | ||
HEADERS cholmod.h | ||
HEADER_PATHS ${CHOLMOD_INCLUDE_DIRS}) | ||
ELSE() | ||
#we need to find one of the valid versions from the list below | ||
KOKKOSKERNELS_FIND_IMPORTED(CHOLMOD | ||
LIBRARY cholmod | ||
LIBRARY_PATHS ${CHOLMOD_LIBRARY_DIRS} | ||
HEADERS cholmod.h | ||
HEADER_PATHS ${CHOLMOD_INCLUDE_DIRS}) | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
IF (DEFINED SUPERLU_LIBRARIES) | ||
#we were given the exact list of libraries to find | ||
KOKKOSKERNELS_FIND_IMPORTED(SUPERLU INTERFACE | ||
LIBRARIES ${SUPERLU_LIBRARIES} | ||
LIBRARY_PATHS ${SUPERLU_LIBRARY_DIRS} | ||
HEADERS slu_ddefs.h | ||
HEADER_PATHS ${SUPERLU_INCLUDE_DIRS}) | ||
ELSE() | ||
#we need to find one of the valid versions from the list below | ||
KOKKOSKERNELS_FIND_IMPORTED(SUPERLU | ||
LIBRARY superlu | ||
LIBRARY_PATHS ${SUPERLU_LIBRARY_DIRS} | ||
HEADERS slu_ddefs.h | ||
HEADER_PATHS ${SUPERLU_INCLUDE_DIRS}) | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters