author | mbait |
Wed, 17 Mar 2010 23:01:53 +0000 | |
branch | lua_linux_lib_fix |
changeset 3014 | 2b4116a8bdb0 |
parent 2925 | d088b5f813c9 |
permissions | -rw-r--r-- |
2924 | 1 |
# Find the Lua library |
2 |
# |
|
3 |
||
2925 | 4 |
IF(NOT LUA_LIBRARY) |
5 |
IF(WIN32) |
|
6 |
set(LUA_DEFAULT lua.dll) |
|
7 |
ELSE(WIN32) |
|
8 |
IF(APPLE) |
|
9 |
set(LUA_DEFAULT lua) |
|
10 |
ELSE(APPLE) |
|
3014 | 11 |
set(LUA_DEFAULT liblua.so) |
2925 | 12 |
ENDIF(APPLE) |
13 |
ENDIF(WIN32) |
|
14 |
SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!") |
|
3014 | 15 |
ENDIF(NOT LUA_LIBRARY) |