equal
deleted
inserted
replaced
16 #UNSET(LUA_DEFAULT) |
16 #UNSET(LUA_DEFAULT) |
17 MESSAGE(FATAL_ERROR "Couldn't find Lua 5.1 library!") |
17 MESSAGE(FATAL_ERROR "Couldn't find Lua 5.1 library!") |
18 ENDIF() |
18 ENDIF() |
19 #remove the path (fpc doesn't like it - why?) |
19 #remove the path (fpc doesn't like it - why?) |
20 GET_FILENAME_COMPONENT(LUA_DEFAULT ${LUA_DEFAULT} NAME) |
20 GET_FILENAME_COMPONENT(LUA_DEFAULT ${LUA_DEFAULT} NAME) |
21 ENDIF(APPLE |
21 ENDIF(APPLE) |
22 ENDIF(WIN32) |
22 ENDIF(WIN32) |
23 ENDIF(ANDROID) |
23 ENDIF(ANDROID) |
24 SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!") |
24 SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!") |
25 #UNSET(LUA_DEFAULT) |
25 #UNSET(LUA_DEFAULT) |