Skip to content

Commit

Permalink
Cmake: Minor (#230)
Browse files Browse the repository at this point in the history
* fix a couple of warnings

* minor
  • Loading branch information
ahmed-irfan authored Mar 26, 2020
1 parent f6235ce commit bec85d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ endif()

if (NOT MSVC)
set(COMPILE_FLAGS -Wall -Wextra -Werror -MMD) #-Wno-deprecated
set(RELEASE_FLAGS -O3) #-Wno-deprecated
set(RELEASE_FLAGS ${COMPILE_FLAGS} -O3) #-Wno-deprecated
endif()

if (RUN_MEMORY_TEST)
Expand All @@ -115,9 +115,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CXXTEST_FLAGS ${CXXTEST_FLAGS} -Wno-terminate)
endif()

if (NOT MSVC)
set(RELEASE_FLAGS ${COMPILE_FLAGS} -O3)
endif()


# Boost
Expand Down

0 comments on commit bec85d7

Please sign in to comment.