Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3002


Ignore:
Timestamp:
May 20, 2009, 10:45:36 PM (16 years ago)
Author:
rgrieder
Message:

Possible build bug: in the compiler config files (BuildConfig, etc.) the compiler flags get reset at first. Adding flags before that will have no effect.

Location:
code/branches/ggz
Files:
2 edited

Legend:

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

    r3000 r3002  
    116116FIND_PACKAGE(ZLIB            REQUIRED)
    117117FIND_PACKAGE(GGZ                     )
    118 IF(GGZMOD_FOUND)
    119         ADD_COMPILER_FLAGS("-DHAS_GGZ")
    120 ELSE(GGZMOD_FOUND)
    121         MESSAGE("GGZMOD not found, disabling GGZ support")
     118IF(NOT GGZMOD_FOUND)
     119  MESSAGE("GGZMOD not found, disabling GGZ support")
    122120ENDIF(GGZMOD_FOUND)
    123121IF(WIN32)
  • code/branches/ggz/src/CMakeLists.txt

    r2724 r3002  
    3232# Tolua binding speedup if required
    3333ADD_COMPILER_FLAGS("-DTOLUA_RELEASE" Release MinSizeRel TOLUA_PARSER_RELEASE)
     34# Enable GGZMode support if found
     35IF(GGZMODE_FOUND)
     36  ADD_COMPILER_FLAGS("-DHAS_GGZ")
     37ENDIF()
    3438
    3539################ OrxonoxConfig.h ################
Note: See TracChangeset for help on using the changeset viewer.