diff --git a/fxsdk/assets/CMakeLists.txt b/fxsdk/assets/CMakeLists.txt index 137cc4d..e4acfa5 100644 --- a/fxsdk/assets/CMakeLists.txt +++ b/fxsdk/assets/CMakeLists.txt @@ -30,7 +30,7 @@ set(ASSETS_cg fxconv_declare_assets(${ASSETS} ${ASSETS_fx} ${ASSETS_cg} WITH_METADATA) add_executable(myaddin ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}}) -target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g) +target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g -flto) target_link_libraries(myaddin Gint::Gint) if("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G)