Adjusted optimisation level for release builds

This commit is contained in:
Nav
2021-08-20 22:52:39 +01:00
parent d5ae3dcdae
commit e3ec4e31e8

View File

@@ -190,7 +190,7 @@ target_compile_options(
PUBLIC $<$<CONFIG:DEBUG>:-g>
PUBLIC $<$<CONFIG:DEBUG>:-O0>
# PUBLIC $<$<CONFIG:DEBUG>:-Os>
PUBLIC $<$<CONFIG:RELEASE>:-O2>
PUBLIC $<$<CONFIG:RELEASE>:-Ofast>
PUBLIC $<$<CONFIG:DEBUG>:-fno-inline>
PUBLIC $<$<CONFIG:DEBUG>:-fkeep-static-functions>
)