Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict

This commit is contained in:
Shauren
2025-06-11 15:52:40 +02:00
parent 78dd65ad2e
commit 1f5f245c02
7 changed files with 40 additions and 47 deletions

View File

@@ -18,7 +18,8 @@ set(CMAKE_CXX_STANDARD 20)
# Set build-directive (used in core to tell which buildtype we used)
target_compile_definitions(trinity-compile-option-interface
INTERFACE
_BUILD_DIRECTIVE="$<CONFIG>")
TRINITY_BUILD_TYPE="$<CONFIG>"
TRINITY_BUILD_HAS_DEBUG_INFO=$<CONFIG:Debug,RelWithDebInfo>)
# An interface library to make the target features available to other targets
add_library(trinity-feature-interface INTERFACE)