Fix Eluna logging by defining ENABLE_ELUNA (#179)
The definition should be included in all projects or every project that uses it
This commit is contained in:
parent
dc04a78ad0
commit
442b8aa767
@ -66,6 +66,11 @@ target_include_directories(mangosd
|
|||||||
${OPENSSL_INCLUDE_DIR}
|
${OPENSSL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_compile_definitions(mangosd
|
||||||
|
PUBLIC
|
||||||
|
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:ENABLE_ELUNA>
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(mangosd
|
target_link_libraries(mangosd
|
||||||
PUBLIC
|
PUBLIC
|
||||||
game
|
game
|
||||||
|
@ -226,6 +226,7 @@ target_compile_definitions(shared
|
|||||||
$<$<CONFIG:Debug>:MANGOS_DEBUG>
|
$<$<CONFIG:Debug>:MANGOS_DEBUG>
|
||||||
MANGOS_ENDIAN=${ENDIAN_VALUE}
|
MANGOS_ENDIAN=${ENDIAN_VALUE}
|
||||||
$<$<BOOL:${ENDIAN_VALUE}>:ARCH_IS_BIG_ENDIAN>
|
$<$<BOOL:${ENDIAN_VALUE}>:ARCH_IS_BIG_ENDIAN>
|
||||||
|
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:ENABLE_ELUNA>
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(shared
|
target_link_libraries(shared
|
||||||
|
Loading…
x
Reference in New Issue
Block a user