Line | |
---|
1 | # Find GGZ |
---|
2 | |
---|
3 | FIND_PATH(GGZ_INCLUDE_DIR ggzmod.h) |
---|
4 | |
---|
5 | FIND_LIBRARY(GGZMOD_LIBRARY NAMES ggzmod) |
---|
6 | |
---|
7 | # handle the QUIETLY and REQUIRED arguments and set GGZMOD_FOUND to TRUE if |
---|
8 | # all listed variables are TRUE |
---|
9 | INCLUDE(FindPackageHandleStandardArgs) |
---|
10 | FIND_PACKAGE_HANDLE_STANDARD_ARGS(GGZMOD DEFAULT_MSG GGZMOD_LIBRARY GGZ_INCLUDE_DIR) |
---|
11 | |
---|
12 | IF(GGZMOD_FOUND) |
---|
13 | SET(GGZMOD_LIBRARIES ${GGZMOD_LIBRARY}) |
---|
14 | ENDIF(GGZMOD_FOUND) |
---|
15 | |
---|
16 | MARK_AS_ADVANCED(GGZMOD_LIBRARY GGZMOD_LIBRARIES GGZ_INCLUDE_DIR) |
---|
Note: See
TracBrowser
for help on using the repository browser.