aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-06-11 15:52:40 +0200
committerShauren <shauren.trinity@gmail.com>2025-08-30 22:55:25 +0200
commitd03e90ef43b24f5fc2078fb8939b5f89d458c558 (patch)
treec7b86bd5fddffe58aa2eb96c696ebf20fe09343c /cmake/macros
parentda4bcad2d7e617d4708497f657d64609223b8dc9 (diff)
Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
(cherry picked from commit 1f5f245c02e92b967abfcd74858669be98a49333)
Diffstat (limited to 'cmake/macros')
-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)