diff options
author | iThorgrim <125808072+iThorgrim@users.noreply.github.com> | 2025-01-11 13:03:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-11 13:03:20 +0100 |
commit | 03c263f88e0c0f217b40a667fce68b5504f2309c (patch) | |
tree | 54a629db920d79d917d6a1a4bf379d3c734e88fc /modules/CMakeLists.txt | |
parent | 6baae1d942c1f8ab78170077d4cf3b38b3ded884 (diff) |
feat(CMake/Eluna): Update CMakeLists for modules to allow Eluna to switch Lua version (#21123)
Diffstat (limited to 'modules/CMakeLists.txt')
-rw-r--r-- | modules/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index afdfe2c5a5..46c9d5e16f 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -277,6 +277,10 @@ add_library(modules STATIC ${SCRIPT_MODULE_PRIVATE_SCRIPTLOADER} ${PRIVATE_SOURCES_MODULES}) +if (MOD_ELUNA_FOUND) + target_link_libraries(modules PUBLIC lualib) +endif() + target_link_libraries(modules PRIVATE acore-core-interface |