We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92085b3 commit dc04b0bCopy full SHA for dc04b0b
CMakeLists.txt
@@ -51,6 +51,11 @@ elseif (USE_LUAJIT)
51
include(BuildLuaJIT)
52
build_luajit(${LUA_VERSION})
53
set(IS_LUAJIT TRUE)
54
+elseif (LUA_INCLUDE_DIR AND LUA_LIBRARIES AND LUA_EXECUTABLE AND LUA_VERSION_STRING)
55
+ message(STATUS "Lua library passed outside:")
56
+ message(STATUS "LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
57
+ message(STATUS "LUA_LIBRARIES: ${LUA_LIBRARIES}")
58
+ message(STATUS "LUA_EXECUTABLE: ${LUA_EXECUTABLE}")
59
else ()
60
message(FATAL_ERROR "No Lua is specified.")
61
endif ()
0 commit comments