Skip to content

Commit

Permalink
Fix Eluna logging by defining ENABLE_ELUNA (#179)
Browse files Browse the repository at this point in the history
The definition should be included in all projects or every project that uses it
  • Loading branch information
Rochet2 authored and billy1arm committed Sep 11, 2022
1 parent 14ebd2a commit 804b3ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mangosd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ target_include_directories(mangosd
${OPENSSL_INCLUDE_DIR}
)

target_compile_definitions(mangosd
PUBLIC
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:ENABLE_ELUNA>
)

target_link_libraries(mangosd
PUBLIC
game
Expand Down
1 change: 1 addition & 0 deletions src/shared/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ target_compile_definitions(shared
$<$<CONFIG:Debug>:MANGOS_DEBUG>
MANGOS_ENDIAN=${ENDIAN_VALUE}
$<$<BOOL:${ENDIAN_VALUE}>:ARCH_IS_BIG_ENDIAN>
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:ENABLE_ELUNA>
)

target_link_libraries(shared
Expand Down

0 comments on commit 804b3ec

Please sign in to comment.