--- a/cmake_modules/FindLua.cmake Sun Mar 28 23:05:33 2010 +0000
+++ b/cmake_modules/FindLua.cmake Sun Mar 28 23:10:33 2010 +0000
@@ -10,7 +10,7 @@
#locate the system's lua library
FIND_LIBRARY(LUA_DEFAULT NAMES lua51 lua5.1 lua-5.1 lua PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib)
IF(${LUA_DEFAULT} MATCHES "LUA_DEFAULT-NOTFOUND")
- UNSET(LUA_DEFAULT)
+ #UNSET(LUA_DEFAULT)
MESSAGE(FATAL_ERROR "Couldn't find Lua 5.1 library!")
ENDIF()
#remove the path (fpc doesn't like it - why?)
@@ -18,4 +18,4 @@
ENDIF(APPLE)
ENDIF(WIN32)
SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!")
-UNSET(LUA_DEFAULT)
+#UNSET(LUA_DEFAULT)