aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/mingw/settings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/compiler/mingw/settings.cmake')
-rw-r--r--cmake/compiler/mingw/settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler/mingw/settings.cmake b/cmake/compiler/mingw/settings.cmake
index e3c75581648..0268de93ff5 100644
--- a/cmake/compiler/mingw/settings.cmake
+++ b/cmake/compiler/mingw/settings.cmake
@@ -4,7 +4,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
# 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(PLATFORM EQUAL 32)
# Required on 32-bit systems to enable SSE2 (standard on x64)