Merge pull request #3 from traversaro/patch-1

Do not pass explicitly -O2 flag to compiler in Release build
This commit is contained in:
Austin Huang 2024-02-24 12:28:03 -05:00 committed by GitHub
commit 830dda09b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -43,7 +43,6 @@ set(SOURCES
util/args.h
)
add_compile_options($<$<CONFIG:Release>:-O2>)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()