This commit is contained in:
lizzie 2026-03-18 06:21:06 +00:00
parent 33d9cbef2b
commit 68134a9b55
2 changed files with 4 additions and 6 deletions

View file

@ -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)

View file

@ -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)