Skip to content

Commit

Permalink
Remove march native to O3
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesYang007 committed Jun 1, 2020
1 parent 55c4a6b commit 68f5420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -15,7 +15,7 @@ if (NOT CMAKE_BUILD_TYPE)
# if binary directory ends with "release", use release mode
if (${PROJECT_BINARY_DIR} MATCHES "release$")
set(CMAKE_BUILD_TYPE RELEASE)
add_compile_options(-march=native -O2)
add_compile_options(-O3)
# otherwise, use debug mode
else()
set(CMAKE_BUILD_TYPE DEBUG)
Expand Down

0 comments on commit 68f5420

Please sign in to comment.