Skip to content

Commit

Permalink
Remove unused _DEBUG definition and also because no one must test
Browse files Browse the repository at this point in the history
CMAKE_BUILD_TYPE variable in CMakeLists.txt files as it will not work in
multiple generators.
  • Loading branch information
markand authored and dacap committed Aug 3, 2018
1 parent e97e866 commit ec59dae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ endif()
include_directories(.)
set(CLIP_SOURCES clip.cpp image.cpp)

if(CMAKE_BUILD_TYPE STREQUAL Debug)
add_definitions(-D_DEBUG)
else()
add_definitions(-DNDEBUG)
endif()

if(WIN32)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
list(APPEND CLIP_SOURCES clip_win.cpp)
Expand Down

0 comments on commit ec59dae

Please sign in to comment.