diff --git a/modules/acore/cmake/compiler/clang/settings.cmake b/modules/acore/cmake/compiler/clang/settings.cmake index e18e45745..96aaa54fd 100644 --- a/modules/acore/cmake/compiler/clang/settings.cmake +++ b/modules/acore/cmake/compiler/clang/settings.cmake @@ -1,5 +1,5 @@ # Set build-directive (used in core to tell which buildtype we used) -add_definitions(-D_BUILD_DIRECTIVE='"$(CONFIGURATION)"') +add_definitions(-D_BUILD_DIRECTIVE='"${CMAKE_BUILD_TYPE}"') if(WITH_WARNINGS) set(WARNING_FLAGS "-W -Wall -Wextra -Winit-self -Wfatal-errors -Wno-mismatched-tags")