Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Dec 9, 2024
1 parent dc04b0b commit a8cf3a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ elseif (LUA_INCLUDE_DIR AND LUA_LIBRARIES AND LUA_EXECUTABLE AND LUA_VERSION_STR
message(STATUS "LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
message(STATUS "LUA_LIBRARIES: ${LUA_LIBRARIES}")
message(STATUS "LUA_EXECUTABLE: ${LUA_EXECUTABLE}")

add_library(bundled-liblua STATIC IMPORTED GLOBAL)
set_target_properties(bundled-liblua PROPERTIES
IMPORTED_LOCATION ${LUA_LIBRARIES})
set(LUA_LIBRARIES bundled-liblua)
else ()
message(FATAL_ERROR "No Lua is specified.")
endif ()
Expand Down

0 comments on commit a8cf3a6

Please sign in to comment.