mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-08 00:34:57 +03:00
CMake: set PDB output directory, don't set default build type
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user