mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-21 12:54:35 +00:00
Add link to LUA_LIBRARIES in test for module compatible mode
This commit is contained in:
parent
90b1300f1a
commit
0073d700d2
@ -16,6 +16,7 @@ add_library(lua-lib-module-compatible-mode UNKNOWN IMPORTED "${LUA_LIBRARY}")
|
|||||||
set_target_properties(lua-lib-module-compatible-mode PROPERTIES
|
set_target_properties(lua-lib-module-compatible-mode PROPERTIES
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${LUA_INCLUDE_DIR}"
|
INTERFACE_INCLUDE_DIRECTORIES "${LUA_INCLUDE_DIR}"
|
||||||
IMPORTED_LOCATION "${LUA_LIBRARY}")
|
IMPORTED_LOCATION "${LUA_LIBRARY}")
|
||||||
|
target_link_libraries(lua-lib-module-compatible-mode INTERFACE "${LUA_LIBRARIES}")
|
||||||
|
|
||||||
add_executable(lua-config-package-build-test-using-module-compatible-mode "./lua-config-package-build-test.c")
|
add_executable(lua-config-package-build-test-using-module-compatible-mode "./lua-config-package-build-test.c")
|
||||||
target_link_libraries(lua-config-package-build-test-using-module-compatible-mode lua-lib-module-compatible-mode)
|
target_link_libraries(lua-config-package-build-test-using-module-compatible-mode lua-lib-module-compatible-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user