From 94be06e33e7b6dca876b1b4eb9d3a6f2e1732298 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 8 Dec 2019 00:10:02 +1100 Subject: [PATCH] use O2 optimization for now due to performance and stability concerns --- app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index e33bd2b7d..2370e85d7 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -68,7 +68,7 @@ if(MSVC) # Enabling this threw warnings from FFmpeg headers that broke compilation. See if this is fixable. #target_compile_options(${OLIVE_TARGET} PRIVATE /W4 /WX) else() - target_compile_options(${OLIVE_TARGET} PRIVATE -O3 -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion) + target_compile_options(${OLIVE_TARGET} PRIVATE -O2 -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion) endif() target_include_directories(