cmake_modules/FindLua.cmake
author smxx
Wed, 24 Mar 2010 14:03:03 +0000
changeset 3058 2ebc20485344
parent 2925 d088b5f813c9
child 3014 2b4116a8bdb0
child 3067 330e60f5dde8
permissions -rw-r--r--
Engine: * Free land objects right after map drawing Frontend: * No longer remove duplicates from friends/ignore lists (to keep Qt 4.4 compatibility) Maps: * No longer lock camera on balls on Knockball

# Find the Lua library
#

IF(NOT LUA_LIBRARY)
	IF(WIN32)
		set(LUA_DEFAULT lua.dll)
	ELSE(WIN32)
		IF(APPLE)
			set(LUA_DEFAULT lua)
		ELSE(APPLE)
			set(LUA_DEFAULT lua5.1.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)