Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 6:12:52 PM (16 years ago)
Author:
adrfried
Message:

tolua cmakelists made compatible to older cmakes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/tolua/CMakeLists.txt

    r2335 r2336  
    1818TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES})
    1919
    20 IF(${LUA_VERSION} VERSION_LESS 5.1)
     20#IF("${LUA_VERSION}" VERSION_LESS 5.1)
     21IF("${LUA_VERSION}" MATCHES "^5.0")
    2122  SET(TOLUA_ALL_PACK all-5.0.lua)
    22 ELSE(${LUA_VERSION} VERSION_LESS 5.1)
     23#ELSE("${LUA_VERSION}" VERSION_LESS 5.1)
     24ELSE("${LUA_VERSION}" MATCHES "^5.0")
    2325  SET(TOLUA_ALL_PACK all-5.1.lua)
    24 ENDIF(${LUA_VERSION} VERSION_LESS 5.1)
     26#ENDIF("${LUA_VERSION}" VERSION_LESS 5.1)
     27ENDIF("${LUA_VERSION}" MATCHES "^5.0")
    2528
    2629SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
Note: See TracChangeset for help on using the changeset viewer.