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 dc04b0b commit a8cf3a6Copy full SHA for a8cf3a6
CMakeLists.txt
@@ -56,6 +56,11 @@ elseif (LUA_INCLUDE_DIR AND LUA_LIBRARIES AND LUA_EXECUTABLE AND LUA_VERSION_STR
56
message(STATUS "LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
57
message(STATUS "LUA_LIBRARIES: ${LUA_LIBRARIES}")
58
message(STATUS "LUA_EXECUTABLE: ${LUA_EXECUTABLE}")
59
+
60
+ add_library(bundled-liblua STATIC IMPORTED GLOBAL)
61
+ set_target_properties(bundled-liblua PROPERTIES
62
+ IMPORTED_LOCATION ${LUA_LIBRARIES})
63
+ set(LUA_LIBRARIES bundled-liblua)
64
else ()
65
message(FATAL_ERROR "No Lua is specified.")
66
endif ()
0 commit comments