CMake/Clang: fix build type variable
This commit is contained in:
parent
d8de9c9296
commit
cdda5249bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue