default lua variable fix lua_linux_lib_fix
authormbait
Wed, 17 Mar 2010 23:01:53 +0000
branchlua_linux_lib_fix
changeset 3014 2b4116a8bdb0
parent 3012 054c67f21bfa
child 3016 25707604b688
default lua variable fix
cmake_modules/FindLua.cmake
--- a/cmake_modules/FindLua.cmake	Wed Mar 17 22:53:45 2010 +0000
+++ b/cmake_modules/FindLua.cmake	Wed Mar 17 23:01:53 2010 +0000
@@ -8,8 +8,8 @@
 		IF(APPLE)
 			set(LUA_DEFAULT lua)
 		ELSE(APPLE)
-			set(LUA_DEFAULT lua5.1.so)
+			set(LUA_DEFAULT liblua.so)
 		ENDIF(APPLE)
 	ENDIF(WIN32)
 	SET(LUA_LIBRARY ${LUA_DEFAULT} CACHE STRING "Lua library to link to; file name without path only!")
-ENDIF(NOT LUA_LIBRARY)
\ No newline at end of file
+ENDIF(NOT LUA_LIBRARY)