Do not pass explicitly -O2 flag to compiler in Release build

This commit is contained in:
Silvio Traversaro 2024-02-21 21:02:48 +01:00 committed by GitHub
parent fb6f266db1
commit 19694e1f2e
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()