cmake: disable optimizations for debug builds

Makes debugging certain bugs easier.
This commit is contained in:
itsmattkc
2020-07-10 18:30:03 +10:00
parent 90bc678377
commit df78e88150
+1 -1
View File
@@ -100,7 +100,7 @@ else()
target_compile_options(
${OLIVE_TARGET}
PRIVATE
-O2
"$<$<CONFIG:RELEASE>:-O2>"
-Werror
-Wuninitialized
-pedantic-errors