Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ggz/cmake/FindGGZ.cmake @ 5348

Last change on this file since 5348 was 3000, checked in by adrfried, 16 years ago

some ggz things

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