mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
find lua version for luabind under fedora
--HG-- branch : nimetu/find-lua-version-for-luabind-under-fedor-1412076128442
This commit is contained in:
parent
c6df57adf1
commit
dcf2906b94
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ MACRO(FIND_CORRECT_LUA_VERSION)
|
||||||
SET(LUA52_LIBRARY "liblua5.2")
|
SET(LUA52_LIBRARY "liblua5.2")
|
||||||
CHECK_LINKED_LIBRARY(LUABIND_LIBRARY_RELEASE LUA52_LIBRARY LUALIB_FOUND)
|
CHECK_LINKED_LIBRARY(LUABIND_LIBRARY_RELEASE LUA52_LIBRARY LUALIB_FOUND)
|
||||||
|
|
||||||
|
IF(NOT LUALIB_FOUND)
|
||||||
|
# fedora (v20)
|
||||||
|
SET(LUA52_LIBRARY "liblua-5.2")
|
||||||
|
CHECK_LINKED_LIBRARY(LUABIND_LIBRARY_RELEASE LUA52_LIBRARY LUALIB_FOUND)
|
||||||
|
ENDIF(NOT LUALIB_FOUND)
|
||||||
|
|
||||||
IF(LUALIB_FOUND)
|
IF(LUALIB_FOUND)
|
||||||
MESSAGE(STATUS "Luabind is using Lua 5.2")
|
MESSAGE(STATUS "Luabind is using Lua 5.2")
|
||||||
FIND_PACKAGE(Lua52 REQUIRED)
|
FIND_PACKAGE(Lua52 REQUIRED)
|
||||||
|
|
Loading…
Reference in a new issue