From 68134a9b5596598ddd09d2481837b937dd000d7d Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 18 Mar 2026 06:21:06 +0000 Subject: [PATCH] fx --- CMakeLists.txt | 4 ++++ src/yuzu/CMakeLists.txt | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16b6396bf2..07b2813448 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,10 @@ endif() # my unity/jumbo build option(ENABLE_UNITY_BUILD "Enable Unity/Jumbo build" OFF) +if(MSVC AND ENABLE_UNITY_BUILD) + # Unity builds need big objects for MSVC... + add_compile_options(/bigobj) +endif() # qt stuff option(ENABLE_QT "Enable the Qt frontend" ON) diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index b151e5bf5c..98bea3a27a 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -362,7 +362,6 @@ target_sources(yuzu PRIVATE # Add the QRC file to package in all QM files qt_add_resources( ${COMPAT_LIST} - ${ICONS} ${THEMES} LANGUAGES ${LANGUAGES_QRC} OUTPUT_TARGETS ${QRC_OUTPUT_TARGETS} @@ -457,11 +456,6 @@ if (NOT MSVC AND (APPLE OR NOT YUZU_STATIC_BUILD)) -Wno-missing-field-initializers) endif() -if(MSVC AND ENABLE_UNITY_BUILD) - # Unity builds need big objects for MSVC... - target_compile_options(yuzu PRIVATE /bigobj) -endif() - # Remember that the linker is incredibly stupid. target_link_libraries(yuzu PRIVATE OpenSSL::SSL OpenSSL::Crypto SDL2::SDL2)