feat(CMake/Eluna): Update CMakeLists for modules to allow Eluna to switch Lua version (#21123)

This commit is contained in:
iThorgrim 2025-01-11 13:03:20 +01:00 committed by GitHub
parent 6baae1d942
commit 03c263f88e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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