Skip to content

Commit

Permalink
Re-enabled optimization on unix platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Hofmann committed Sep 24, 2019
1 parent a0d9dc2 commit 52443d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ endif()
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
message(STATUS "No MSVC compiler in use")
set(CMAKE_CXX_FLAGS "-Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -Wextra")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
else()
message(STATUS "MSVC compiler in use")
set(CMAKE_CXX_FLAGS "/Wall /W2")
Expand Down

0 comments on commit 52443d0

Please sign in to comment.