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(SDL2 REQUIRED)
|
||||||
find_package(Vulkan REQUIRED)
|
find_package(Vulkan REQUIRED)
|
||||||
|
|
||||||
|
if(${CMAKE_BUILD_TYPE} STREQUAL DEBUG)
|
||||||
add_definitions(-DDEBUG)
|
add_definitions(-DDEBUG)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(Graph
|
add_executable(Graph
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
|
|
Reference in a new issue