Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 21, 2011, 3:47:04 AM (14 years ago)
Author:
rgrieder
Message:

Renamed Lua library to "Lua5.1" because that's also what the official Linux repositories call it to differentiate it from Lua v5.0.
Also simplified the CMake find script a lot since it doesn't have to find both Lua versions anymore.

Location:
code/branches/kicklib/src/external/tolua
Files:
1 deleted
1 edited

Legend:

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

    r7941 r7944  
    2626  NO_INSTALL
    2727  LINK_LIBRARIES
    28     ${LUA_LIBRARIES}
     28    ${LUA5.1_LIBRARY}
    2929  SOURCE_FILES
    3030    tolua.c
     
    3232
    3333# Set some variables to the cache in order to use them in the TOLUA macro
    34 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/all-${LUA_VERSION}.lua" CACHE INTERNAL "")
     34SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/all-5.1.lua" CACHE INTERNAL "")
    3535SET(TOLUA_PARSER_DEPENDENCIES
    3636  toluaapp_orxonox
    37   ${CMAKE_CURRENT_SOURCE_DIR}/all-${LUA_VERSION}.lua
     37  ${CMAKE_CURRENT_SOURCE_DIR}/all-5.1.lua
    3838  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua
    3939  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat.lua
Note: See TracChangeset for help on using the changeset viewer.