Skip to content

Commit fc530f0

Browse files
committed
CMake: return LUA_FOUND for properly luajit linkage
1 parent dc55bdb commit fc530f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
8080
set(LUA_LIBRARIES luajit-debug)
8181
endif()
8282

83+
set(LUA_FOUND true)
84+
8385
message("CMake build ${CMAKE_BUILD_TYPE}, CFLAGS=${CMAKE_C_FLAGS}, CXXFLAGS=${CMAKE_CXX_FLAGS}")
8486

8587
add_definitions(-D_MT -D_CPPUNWIND -DPURE_DYNAMIC_CAST -DDECLARE_SPECIALIZATION -DM_NOSTDCONTAINERS_EXT -DUSE_OGL)

0 commit comments

Comments
 (0)