diff options
author | Robert Adam <dev@robert-adam.de> | 2022-11-07 15:36:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 15:36:35 +0300 |
commit | 7345cd0507e5e4598870aca116c09eef74ecdf67 (patch) | |
tree | fc3f1816db740824a1ef75713ea94318c15dae8c | |
parent | bf4ad2bc72b5a8a5d4e2c610dbae1fdfcb3a1bc3 (diff) | |
parent | d9e50a75f7bca791f74f4214815c967ab5480453 (diff) |
Merge PR #5952: BUILD(cmake): the "optimize" option
-rw-r--r-- | cmake/compiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index d4f6c0348..76b507b61 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -72,7 +72,7 @@ elseif(UNIX OR MINGW) add_compile_options("-Wa,-mbig-obj") endif() - if(options) + if(optimize) add_compile_options( "-O3" "-march=native" |