CMake: set PDB output directory, don't set default build type

This commit is contained in:
Davide Beatrici committed 2018-11-18 04:18:42 +01:00
1 parent 25c99a7e04
commit e1bd84d7f3
13 files changed
+70 -9

No files matched your search

+2 -4
View File
@@ -16,11 +16,9 @@ if(UNIX)
endmacro(install_wrapper_script)
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
if(BUILD_TYPE STREQUAL "Debug")
add_definitions(-D_DEBUG -DDEBUG)
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
else()
add_definitions(-DNDEBUG -DVPN_SPEED)
endif()