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

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