mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 12:51:08 +00:00
fix(Modules): Propagate lualib to Sol2 (#23838)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user