author | nemo |
Fri, 05 Mar 2010 02:28:03 +0000 | |
changeset 2937 | da06c25edf1d |
parent 2925 | d088b5f813c9 |
child 3014 | 2b4116a8bdb0 |
child 3067 | 330e60f5dde8 |
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) |
|
11 |
set(LUA_DEFAULT lua5.1.so) |
|
12 |
ENDIF(APPLE) |
|
13 |
ENDIF(WIN32) |
|
14 |
SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!") |
|
15 |
ENDIF(NOT LUA_LIBRARY) |