Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 26, 2010, 3:00:27 PM (15 years ago)
Author:
rgrieder
Message:

Adjusted CMake code to accept the new v5 dependencies that requires the POCO library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/PackageConfig.cmake

    r6765 r7224  
    7171ENDIF()
    7272
     73# Ogre versions >= 1.7 require the POCO library on Windows for threading
     74COMPARE_VERSION_STRINGS(${DEPENDENCY_VERSION} 5 _result TRUE)
     75IF(NOT _result EQUAL -1)
     76    SET(POCO_REQUIRED TRUE)
     77ENDIF()
     78
    7379# Include paths and other special treatments
    7480SET(ENV{ALUTDIR}               ${DEP_INCLUDE_DIR}/freealut)
     
    8389SET(ENV{OGRE_PLUGIN_DIR}       ${DEP_BINARY_DIR})
    8490SET(ENV{OPENALDIR}             ${DEP_INCLUDE_DIR}/openal)
     91SET(ENV{POCODIR}               ${DEP_INCLUDE_DIR}/poco)
    8592LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include)
    8693LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include)
Note: See TracChangeset for help on using the changeset viewer.