Skip to content

Commit

Permalink
Comment out setting extra warning flags
Browse files Browse the repository at this point in the history
  • Loading branch information
aniawsz committed Nov 14, 2022
1 parent 1262f6c commit 643ceec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
endif()
endif()

if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall -Wextra -Wcast-qual -Wcast-align -Wno-unused-parameter -Wmissing-include-dirs -Wpointer-arith -Wredundant-decls -Wshadow")
endif()
# if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall -Wextra -Wcast-qual -Wcast-align -Wno-unused-parameter -Wmissing-include-dirs -Wpointer-arith -Wredundant-decls -Wshadow")
# endif()


################################################################################
Expand Down

0 comments on commit 643ceec

Please sign in to comment.