cmake_modules/FindLua.cmake
author smxx
Wed, 03 Mar 2010 15:04:39 +0000
changeset 2924 908851e59958
child 2925 d088b5f813c9
permissions -rw-r--r--
Engine: * Renamed proto.inc to config.inc to receive other config values from cmake as well * Moved Lua library lookup back to CMake - hope this finally fixes all issues * Fixed training once again

# Find the Lua library
#

IF(UNIX)
  FIND_LIBRARY(LUA_LIBRARY NAMES lua5.1 lua)
ELSE(UNIX)
  IF(WIN32)
    SET(LUA_LIBRARY lua.dll CACHE FILEPATH "Path to the lua library to be used. This should be set to 'lua.dll' or 'lua' under Win32/Apple to use the bundled copy.")
  else(WIN32)
  ENDIF(WIN32)
ENDIF(UNIX)