Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 998


Ignore:
Timestamp:
Apr 6, 2008, 1:25:44 AM (17 years ago)
Author:
rgrieder
Message:
  • tried to find liblua —> not fixed yet
Location:
code/branches/script
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/script/CMakeLists.txt

    r996 r998  
    7272FIND_PACKAGE(ZLIB)
    7373FIND_PACKAGE(Lua)
    74 FIND_PACKAGE(ToLua)
     74#FIND_PACKAGE(ToLua)
    7575
    7676#Sets the search paths for the linking
  • code/branches/script/cmake/FindLua.cmake

    r956 r998  
    2323        /usr/local/lib)
    2424
    25 IF (NOT Lua_LIBRARIES AND Lua_INCLUDE_DIR)
     25IF (NOT Lua_INCLUDE_DIR)
    2626FIND_PATH(Lua_INCLUDE_DIR lua.h
    2727        /usr/include/lua50
    2828        /usr/local/include/lua50
    2929        /usr/pack/lua-5.0.3-sd/include/)
     30ENDIF (NOT Lua_INCLUDE_DIR)
     31MESSAGE(STATUS ${Lua_INCLUDE_DIR})
    3032
    31 FIND_LIBRARY(Lua_LIBRARIES lua50
     33IF (NOT Lua_LIBRARIES)
     34FIND_LIBRARY(Lua_LIBRARIES lua50 liblua
    3235        /usr/lib
    3336        /usr/local/lib
    3437        /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/)
    3538
    36 FIND_LIBRARY(Lua_LIBRARY lualib50
     39FIND_LIBRARY(Lua_LIBRARY lualib50 liblualib
    3740        /usr/lib
    3841        /usr/local/lib
    3942        /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/)
    4043
     44MESSAGE(STATUS ${Lua_LIBRARY})
     45MESSAGE(STATUS ${Lua_LIBRARIES})
     46
    4147SET(Lua_LIBRARIES ${Lua_LIBRARIES} ${Lua_LIBRARY})
    4248
    43 ENDIF (NOT Lua_LIBRARIES AND Lua_INCLUDE_DIR)
     49ENDIF (NOT Lua_LIBRARIES)
    4450
    4551IF (Lua_INCLUDE_DIR AND Lua_LIBRARIES)
  • code/branches/script/src/util/CMakeLists.txt

    r997 r998  
    22
    33AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES)
    4 AUX_SOURCE_DIRECTORY(tolua++ TOLUA++_SRC_FILES)
     4AUX_SOURCE_DIRECTORY(tolua TOLUA_SRC_FILES)
    55
    66SET (UTIL_SRC_FILES
     
    1212  MultiTypeMath.cc
    1313  ${TINYXML_SRC_FILES}
    14   $(TOLUA++_SRC_FILES)
     14  ${TOLUA_SRC_FILES}
    1515)
    1616
Note: See TracChangeset for help on using the changeset viewer.