From 19694e1f2e62d1c26a69309d727f2dbc5d9ada14 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 21 Feb 2024 21:02:48 +0100 Subject: [PATCH] Do not pass explicitly -O2 flag to compiler in Release build --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3858968..722e408 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,6 @@ set(SOURCES util/args.h ) -add_compile_options($<$:-O2>) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif()