cmake_modules/FindLua.cmake
author smxx
Mon, 22 Mar 2010 13:44:35 +0000
changeset 3044 8466bd29280f
parent 2925 d088b5f813c9
child 3014 2b4116a8bdb0
child 3067 330e60f5dde8
permissions -rw-r--r--
Engine: * Added animation to AI's thinking bubble Frontend: * Updated settings page to use new add/edit/delete buttons for teams and weapon schemes (delete buttons are disabled and invisible for now) * Updated English and German locales

# 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)