diff --git a/CMakeLists.txt b/CMakeLists.txt index 063e8c1d5e220d3f1f96ad50ca7dbbc14cc34f4c..b7a37854c654ba7a46c56ecd4419b8c3e5564bd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ endif() # enable warnings and disallow non-standard language set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") -set(CMAKE_CXX_FLAGS_RELEASE "-O0") # should be -O3 but bug 118 prevents this right now +set(CMAKE_CXX_FLAGS_RELEASE "-O3") # clang produces a lot of unecessary warnings without this: add_compile_options("$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>")