blob: 0f416eb5b4926e1cd471482cfaff67eb369be3af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- CMakeModules/CompilerSettings.cmake.orig 2020-06-02 18:39:48 UTC
+++ CMakeModules/CompilerSettings.cmake
@@ -5,12 +5,12 @@ set(CMAKE_CXX_EXTENSIONS OFF)
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-W -Wall -Wextra -Wno-system-headers)
# prepend optimizion flag (in case the default setting doesn't include one)
- set(CMAKE_CXX_FLAGS_RELEASE "-O3 ${CMAKE_CXX_FLAGS_RELEASE}")
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
endif(CMAKE_COMPILER_IS_GNUCXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
add_definitions(-W -Wall -Wextra -Wno-system-headers)
# prepend optimizion flag (in case the default setting doesn't include one)
- set(CMAKE_CXX_FLAGS_RELEASE "-O3 ${CMAKE_CXX_FLAGS_RELEASE}")
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
endif()
if(MSVC)
|