Skip to content

Commit

Permalink
[C++] Do not set non standard optimizations in Release builds.
Browse files Browse the repository at this point in the history
By default CMake sets O3 for Release builds.
  • Loading branch information
denizevrenci committed Feb 1, 2019
1 parent 810ab5e commit 98d435a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Expand Up @@ -82,7 +82,6 @@ find_package(Threads)

if(UNIX)
add_compile_options(-Wall -Wpedantic -Wextra -Wno-unused-parameter)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast")
endif()

if(APPLE)
Expand Down

0 comments on commit 98d435a

Please sign in to comment.