feat(CMake/Eluna): Update CMakeLists for modules to allow Eluna to switch Lua version (#21123)
This commit is contained in:
parent
6baae1d942
commit
03c263f88e
1 changed files with 4 additions and 0 deletions
|
|
@ -277,6 +277,10 @@ add_library(modules STATIC
|
||||||
${SCRIPT_MODULE_PRIVATE_SCRIPTLOADER}
|
${SCRIPT_MODULE_PRIVATE_SCRIPTLOADER}
|
||||||
${PRIVATE_SOURCES_MODULES})
|
${PRIVATE_SOURCES_MODULES})
|
||||||
|
|
||||||
|
if (MOD_ELUNA_FOUND)
|
||||||
|
target_link_libraries(modules PUBLIC lualib)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(modules
|
target_link_libraries(modules
|
||||||
PRIVATE
|
PRIVATE
|
||||||
acore-core-interface
|
acore-core-interface
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue