mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +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)
|
||||
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()
|
||||
|
||||
target_link_libraries(modules
|
||||
|
||||
Reference in New Issue
Block a user