Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2008, 1:25:44 AM (17 years ago)
Author:
rgrieder
Message:
  • tried to find liblua —> not fixed yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.