Skip to content

Commit a8cf3a6

Browse files
committed
xxx
1 parent dc04b0b commit a8cf3a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ elseif (LUA_INCLUDE_DIR AND LUA_LIBRARIES AND LUA_EXECUTABLE AND LUA_VERSION_STR
5656
message(STATUS "LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
5757
message(STATUS "LUA_LIBRARIES: ${LUA_LIBRARIES}")
5858
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)
5964
else ()
6065
message(FATAL_ERROR "No Lua is specified.")
6166
endif ()

0 commit comments

Comments
 (0)