mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
fix(Modules): Propagate lualib to Sol2 (#23838)
This commit is contained in:
parent
430a0e47a0
commit
621641f1e1
1 changed files with 5 additions and 0 deletions
|
|
@ -279,6 +279,11 @@ add_library(modules STATIC
|
||||||
|
|
||||||
if (MOD_ALE_FOUND)
|
if (MOD_ALE_FOUND)
|
||||||
target_link_libraries(modules PUBLIC lualib)
|
target_link_libraries(modules PUBLIC lualib)
|
||||||
|
# Also ensure include directories are propagated for modules that include sol.hpp
|
||||||
|
get_target_property(LUALIB_INCLUDE_DIRS lualib INTERFACE_INCLUDE_DIRECTORIES)
|
||||||
|
if(LUALIB_INCLUDE_DIRS)
|
||||||
|
list(APPEND PUBLIC_INCLUDES ${LUALIB_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(modules
|
target_link_libraries(modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue