cmake_modules/FindLua.cmake
changeset 2924 908851e59958
child 2925 d088b5f813c9
equal deleted inserted replaced
2923:e33ecd95aa1a 2924:908851e59958
       
     1 # Find the Lua library
       
     2 #
       
     3 
       
     4 IF(UNIX)
       
     5   FIND_LIBRARY(LUA_LIBRARY NAMES lua5.1 lua)
       
     6 ELSE(UNIX)
       
     7   IF(WIN32)
       
     8     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.")
       
     9   else(WIN32)
       
    10   ENDIF(WIN32)
       
    11 ENDIF(UNIX)