author | unc0rr |
Fri, 12 Nov 2010 19:47:52 +0300 | |
branch | lua_linux_lib_fix |
changeset 3016 | 25707604b688 |
parent 3014 | 2b4116a8bdb0 |
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) |