Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #9782. Added CMake find module for adept
- Loading branch information
Michael Wedel
committed
Jul 25, 2014
1 parent
2b005ec
commit 244715a
Showing
2 changed files
with
33 additions
and
1 deletion.
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,32 @@ | ||
# Try to find the adept library (header file, library for linking) | ||
# | ||
# See | ||
# http://www.met.rdg.ac.uk/clouds/adept/ | ||
# | ||
# Once run this will define: | ||
# | ||
# adept_FOUND = adept library was found | ||
# | ||
# adept_LIBRARIES = full path to the libraries | ||
# | ||
# adept_INCLUDE_DIR = where to find headers | ||
# | ||
# Michael Wedel 07/2014 | ||
# | ||
# http://psi.ch/mss | ||
|
||
FIND_PATH(adept_INCLUDE_DIR | ||
NAMES adept.h | ||
DOC "Include directory where adept.h is located" | ||
) | ||
|
||
FIND_LIBRARY(adept_LIBRARIES | ||
NAMES adept | ||
DOC "adept dynamic library file" | ||
) | ||
|
||
mark_as_advanced ( adept_INCLUDE_DIR adept_LIBRARIES ) | ||
|
||
IF(adept_LIBRARIES AND adept_INCLUDE_DIR) | ||
SET(adept_FOUND 1) | ||
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