From b2910757a031fcf4ab4b0a1dafadd8499aaad7e0 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 7 Dec 2019 02:02:32 +1100 Subject: [PATCH] use compiler optimizations when building --- app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 60b0cceb9..e33bd2b7d 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 -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion) + target_compile_options(${OLIVE_TARGET} PRIVATE -O3 -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion) endif() target_include_directories(