Changeset 998 for code/branches/script/cmake
- Timestamp:
- Apr 6, 2008, 1:25:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script/cmake/FindLua.cmake
r956 r998 23 23 /usr/local/lib) 24 24 25 IF (NOT Lua_ LIBRARIES AND Lua_INCLUDE_DIR)25 IF (NOT Lua_INCLUDE_DIR) 26 26 FIND_PATH(Lua_INCLUDE_DIR lua.h 27 27 /usr/include/lua50 28 28 /usr/local/include/lua50 29 29 /usr/pack/lua-5.0.3-sd/include/) 30 ENDIF (NOT Lua_INCLUDE_DIR) 31 MESSAGE(STATUS ${Lua_INCLUDE_DIR}) 30 32 31 FIND_LIBRARY(Lua_LIBRARIES lua50 33 IF (NOT Lua_LIBRARIES) 34 FIND_LIBRARY(Lua_LIBRARIES lua50 liblua 32 35 /usr/lib 33 36 /usr/local/lib 34 37 /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/) 35 38 36 FIND_LIBRARY(Lua_LIBRARY lualib50 39 FIND_LIBRARY(Lua_LIBRARY lualib50 liblualib 37 40 /usr/lib 38 41 /usr/local/lib 39 42 /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/) 40 43 44 MESSAGE(STATUS ${Lua_LIBRARY}) 45 MESSAGE(STATUS ${Lua_LIBRARIES}) 46 41 47 SET(Lua_LIBRARIES ${Lua_LIBRARIES} ${Lua_LIBRARY}) 42 48 43 ENDIF (NOT Lua_LIBRARIES AND Lua_INCLUDE_DIR)49 ENDIF (NOT Lua_LIBRARIES) 44 50 45 51 IF (Lua_INCLUDE_DIR AND Lua_LIBRARIES)
Note: See TracChangeset
for help on using the changeset viewer.