aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-06-11 15:52:40 +0200
committerShauren <shauren.trinity@gmail.com>2025-06-11 15:52:40 +0200
commit1f5f245c02e92b967abfcd74858669be98a49333 (patch)
tree08b45de6ef363000b0f3b4845ec11c3401772a0a /cmake
parent78dd65ad2e57b212c38f313be92e477fcd8d68bd (diff)
Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
Diffstat (limited to 'cmake')
-rw-r--r--cmake/macros/ConfigureBaseTargets.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/macros/ConfigureBaseTargets.cmake b/cmake/macros/ConfigureBaseTargets.cmake
index 77a66d085b2..19d11d27bd5 100644
--- a/cmake/macros/ConfigureBaseTargets.cmake
+++ b/cmake/macros/ConfigureBaseTargets.cmake
@@ -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)