Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2009, 8:47:08 PM (16 years ago)
Author:
adrfried
Message:

some ggz things

Location:
code/branches/ggz/cmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ggz/cmake/FindGGZ.cmake

    r2889 r3000  
    55FIND_LIBRARY(GGZMOD_LIBRARY NAMES ggzmod)
    66
    7 # handle the QUIETLY and REQUIRED arguments and set GGZ_FOUND to TRUE if
     7# handle the QUIETLY and REQUIRED arguments and set GGZMOD_FOUND to TRUE if
    88# all listed variables are TRUE
    99INCLUDE(FindPackageHandleStandardArgs)
  • code/branches/ggz/cmake/LibraryConfig.cmake

    r2889 r3000  
    116116FIND_PACKAGE(ZLIB            REQUIRED)
    117117FIND_PACKAGE(GGZ                     )
     118IF(GGZMOD_FOUND)
     119        ADD_COMPILER_FLAGS("-DHAS_GGZ")
     120ELSE(GGZMOD_FOUND)
     121        MESSAGE("GGZMOD not found, disabling GGZ support")
     122ENDIF(GGZMOD_FOUND)
    118123IF(WIN32)
    119124  FIND_PACKAGE(DirectX       REQUIRED)
Note: See TracChangeset for help on using the changeset viewer.