aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/clang
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-04-16 17:53:36 +0200
committerShauren <shauren.trinity@gmail.com>2020-04-16 17:53:36 +0200
commit369b618d4f160816818681ed7e41063e2d9ba5b5 (patch)
tree228bb8f6460b5b0d8e0d83811a54e510dc98e91a /cmake/compiler/clang
parent01c68b2aa2ed25ea9b4c007f238a0e958f6525b1 (diff)
Build system: Support new in cmake 3.17 Ninja Multi-Config generator
Diffstat (limited to 'cmake/compiler/clang')
-rw-r--r--cmake/compiler/clang/settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake
index fd690d2405b..d42345541ee 100644
--- a/cmake/compiler/clang/settings.cmake
+++ b/cmake/compiler/clang/settings.cmake
@@ -1,7 +1,7 @@
# Set build-directive (used in core to tell which buildtype we used)
target_compile_definitions(trinity-compile-option-interface
INTERFACE
- -D_BUILD_DIRECTIVE="${CMAKE_BUILD_TYPE}")
+ -D_BUILD_DIRECTIVE="$<CONFIG>")
if(WITH_WARNINGS)
target_compile_options(trinity-warning-interface