Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2593


Ignore:
Timestamp:
Jan 12, 2009, 7:06:54 PM (16 years ago)
Author:
rgrieder
Message:

CMake sometimes has very strange behaviour… Fixed another bug int FindOGRE.cmake

Location:
code/branches/buildsystem2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/FindOGRE.cmake

    r2587 r2593  
    7878        # If debug version is not available, release will do as well
    7979        IF(NOT OGRE_PLUGIN_${_plugin}_DEBUG)
    80             SET(OGRE_PLUGIN_${_plugin}_DEBUG ${OGRE_PLUGIN_${_plugin}_OPTIMIZED} CACHE STRING "")
     80            SET(OGRE_PLUGIN_${_plugin}_DEBUG ${OGRE_PLUGIN_${_plugin}_OPTIMIZED} CACHE STRING "" FORCE)
    8181        ENDIF(NOT OGRE_PLUGIN_${_plugin}_DEBUG)
    8282        MARK_AS_ADVANCED(OGRE_PLUGIN_${_plugin}_OPTIMIZED OGRE_PLUGIN_${_plugin}_DEBUG)
  • code/branches/buildsystem2/src/CMakeLists.txt

    r2589 r2593  
    3737
    3838# Set special macro symbols across all libraries
    39 ADD_CXX_FLAGS("-DTIXML_USE_TICPP" "TRUE")
    40 ADD_C_FLAGS  ("-DTIXML_USE_TICPP" "TRUE")
     39ADD_CXX_FLAGS("-DTIXML_USE_TICPP" 1)
     40ADD_C_FLAGS  ("-DTIXML_USE_TICPP" 1)
    4141
    4242# Include macros
Note: See TracChangeset for help on using the changeset viewer.