Fix CMake release builds
This commit is contained in:
parent
fb7af358ab
commit
2b9e6afe9c
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ set(CMAKE_CXX_STANDARD 14)
|
|||
find_package(SDL2 REQUIRED)
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
add_definitions(-DDEBUG)
|
||||
if(${CMAKE_BUILD_TYPE} STREQUAL DEBUG)
|
||||
add_definitions(-DDEBUG)
|
||||
endif()
|
||||
|
||||
add_executable(Graph
|
||||
src/main.cpp
|
||||
|
|
Reference in a new issue