diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 4e693987d..7ea42d7f5 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -100,7 +100,7 @@ else() target_compile_options( ${OLIVE_TARGET} PRIVATE - -O2 + "$<$:-O2>" -Werror -Wuninitialized -pedantic-errors