Skip to content

Commit

Permalink
Revert "disable LUA 5.2", cf. #1179
Browse files Browse the repository at this point in the history
This reverts commit 994bd0a.
  • Loading branch information
DennisOSRM committed Sep 15, 2014
1 parent 3729707 commit ebbbf10
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,17 @@ target_link_libraries(datastructure-tests ${TBB_LIBRARIES})
target_link_libraries(rtree-bench ${TBB_LIBRARIES})
include_directories(${TBB_INCLUDE_DIR})

# find_package(Lua52)
# if(NOT LUA52_FOUND)
find_package(Lua52)
if(NOT LUA52_FOUND)
find_package(Lua51 REQUIRED)
if(NOT APPLE)
find_package(LuaJIT 5.1)
endif()
# else()
# if(NOT APPLE)
# find_package(LuaJIT 5.2)
# endif()
# endif()
else()
if(NOT APPLE)
find_package(LuaJIT 5.2)
endif()
endif()

find_package( Luabind REQUIRED )
include_directories(${LUABIND_INCLUDE_DIR})
Expand Down

0 comments on commit ebbbf10

Please sign in to comment.