Skip to content

Commit

Permalink
CMake: return LUA_FOUND for properly luajit linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Oct 4, 2018
1 parent dc55bdb commit fc530f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
set(LUA_LIBRARIES luajit-debug)
endif()

set(LUA_FOUND true)

message("CMake build ${CMAKE_BUILD_TYPE}, CFLAGS=${CMAKE_C_FLAGS}, CXXFLAGS=${CMAKE_CXX_FLAGS}")

add_definitions(-D_MT -D_CPPUNWIND -DPURE_DYNAMIC_CAST -DDECLARE_SPECIALIZATION -DM_NOSTDCONTAINERS_EXT -DUSE_OGL)
Expand Down

0 comments on commit fc530f0

Please sign in to comment.