Changeset 2335 for code/branches/buildsystem/src/tolua
- Timestamp:
- Dec 3, 2008, 5:56:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/tolua/CMakeLists.txt
r2326 r2335 18 18 TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES}) 19 19 20 # Determine Lua version and set appropriate pack file 21 IF(LUA50_FOUND) 20 IF(${LUA_VERSION} VERSION_LESS 5.1) 22 21 SET(TOLUA_ALL_PACK all-5.0.lua) 23 ELSE( LUA50_FOUND)22 ELSE(${LUA_VERSION} VERSION_LESS 5.1) 24 23 SET(TOLUA_ALL_PACK all-5.1.lua) 25 ENDIF( LUA50_FOUND)24 ENDIF(${LUA_VERSION} VERSION_LESS 5.1) 26 25 27 26 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
Note: See TracChangeset
for help on using the changeset viewer.