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 4fc4f85 commit 4808c5bCopy full SHA for 4808c5b
CMakeLists.txt
@@ -50,6 +50,11 @@ if (USE_LUA)
50
elseif (USE_LUAJIT)
51
include(BuildLuaJIT)
52
build_luajit(${LUA_VERSION})
53
+elseif (LUA_INCLUDE_DIR AND LUA_LIBRARIES AND LUA_EXECUTABLE AND LUA_VERSION_STRING)
54
+ message(STATUS "Lua library passed outside:")
55
+ message(STATUS "LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
56
+ message(STATUS "LUA_LIBRARIES: ${LUA_LIBRARIES}")
57
+ message(STATUS "LUA_EXECUTABLE: ${LUA_EXECUTABLE}")
58
else ()
59
message(FATAL_ERROR "No Lua is specified.")
60
endif ()
0 commit comments