Changeset 2336
- Timestamp:
- Dec 3, 2008, 6:12:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/tolua/CMakeLists.txt
r2335 r2336 18 18 TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES}) 19 19 20 IF(${LUA_VERSION} VERSION_LESS 5.1) 20 #IF("${LUA_VERSION}" VERSION_LESS 5.1) 21 IF("${LUA_VERSION}" MATCHES "^5.0") 21 22 SET(TOLUA_ALL_PACK all-5.0.lua) 22 ELSE(${LUA_VERSION} VERSION_LESS 5.1) 23 #ELSE("${LUA_VERSION}" VERSION_LESS 5.1) 24 ELSE("${LUA_VERSION}" MATCHES "^5.0") 23 25 SET(TOLUA_ALL_PACK all-5.1.lua) 24 ENDIF(${LUA_VERSION} VERSION_LESS 5.1) 26 #ENDIF("${LUA_VERSION}" VERSION_LESS 5.1) 27 ENDIF("${LUA_VERSION}" MATCHES "^5.0") 25 28 26 29 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
Note: See TracChangeset
for help on using the changeset viewer.