forked from mlpack/mlpack
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
31 changed files
with
373 additions
and
373 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 |
---|---|---|
@@ -1,39 +1,39 @@ | ||
# - Try to find ARPACK | ||
# Once done this will define | ||
# | ||
# ARPACK_FOUND - system has ARPACK | ||
# ARPACK_LIBRARY - Link this to use ARPACK | ||
|
||
|
||
find_library(ARPACK_LIBRARY | ||
NAMES arpack | ||
PATHS /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib | ||
) | ||
|
||
|
||
if (ARPACK_LIBRARY) | ||
set(ARPACK_FOUND YES) | ||
else () | ||
# Search for PARPACK. | ||
find_library(ARPACK_LIBRARY | ||
NAMES parpack | ||
PATHS /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib | ||
) | ||
|
||
if (ARPACK_LIBRARY) | ||
set(ARPACK_FOUND YES) | ||
else () | ||
set(ARPACK_FOUND NO) | ||
endif () | ||
endif () | ||
|
||
|
||
if (ARPACK_FOUND) | ||
if (NOT ARPACK_FIND_QUIETLY) | ||
message(STATUS "Found an ARPACK library: ${ARPACK_LIBRARY}") | ||
endif () | ||
else () | ||
if (ARPACK_FIND_REQUIRED) | ||
message(FATAL_ERROR "Could not find an ARPACK library") | ||
endif () | ||
endif () | ||
# - Try to find ARPACK | ||
# Once done this will define | ||
# | ||
# ARPACK_FOUND - system has ARPACK | ||
# ARPACK_LIBRARY - Link this to use ARPACK | ||
|
||
|
||
find_library(ARPACK_LIBRARY | ||
NAMES arpack | ||
PATHS /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib | ||
) | ||
|
||
|
||
if (ARPACK_LIBRARY) | ||
set(ARPACK_FOUND YES) | ||
else () | ||
# Search for PARPACK. | ||
find_library(ARPACK_LIBRARY | ||
NAMES parpack | ||
PATHS /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib | ||
) | ||
|
||
if (ARPACK_LIBRARY) | ||
set(ARPACK_FOUND YES) | ||
else () | ||
set(ARPACK_FOUND NO) | ||
endif () | ||
endif () | ||
|
||
|
||
if (ARPACK_FOUND) | ||
if (NOT ARPACK_FIND_QUIETLY) | ||
message(STATUS "Found an ARPACK library: ${ARPACK_LIBRARY}") | ||
endif () | ||
else () | ||
if (ARPACK_FIND_REQUIRED) | ||
message(FATAL_ERROR "Could not find an ARPACK library") | ||
endif () | ||
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
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
Oops, something went wrong.