disable LUA 5.2
This commit is contained in:
parent
85c244ed08
commit
994bd0a910
@ -225,17 +225,17 @@ target_link_libraries(datastructure-tests ${TBB_LIBRARIES})
|
|||||||
target_link_libraries(rtree-bench ${TBB_LIBRARIES})
|
target_link_libraries(rtree-bench ${TBB_LIBRARIES})
|
||||||
include_directories(${TBB_INCLUDE_DIR})
|
include_directories(${TBB_INCLUDE_DIR})
|
||||||
|
|
||||||
find_package(Lua52)
|
# find_package(Lua52)
|
||||||
if(NOT LUA52_FOUND)
|
# if(NOT LUA52_FOUND)
|
||||||
find_package(Lua51 REQUIRED)
|
find_package(Lua51 REQUIRED)
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
find_package(LuaJIT 5.1)
|
find_package(LuaJIT 5.1)
|
||||||
endif()
|
endif()
|
||||||
else()
|
# else()
|
||||||
if(NOT APPLE)
|
# if(NOT APPLE)
|
||||||
find_package(LuaJIT 5.2)
|
# find_package(LuaJIT 5.2)
|
||||||
endif()
|
# endif()
|
||||||
endif()
|
# endif()
|
||||||
|
|
||||||
find_package( Luabind REQUIRED )
|
find_package( Luabind REQUIRED )
|
||||||
include_directories(${LUABIND_INCLUDE_DIR})
|
include_directories(${LUABIND_INCLUDE_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user