remove unneeded switch for MSVC, cleanup comment alignment

This commit is contained in:
Brent Cook 2023-10-02 03:31:24 -05:00
parent 70688874f8
commit fca20b23d6

View File

@ -63,11 +63,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
# Enable asserts regardless of build type
if(MSVC)
add_definitions(/UNDEBUG)
else()
add_definitions(-UNDEBUG)
endif()
set(BUILD_NC true)