diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index c91de67b4a..b151e5bf5c 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -457,9 +457,9 @@ if (NOT MSVC AND (APPLE OR NOT YUZU_STATIC_BUILD)) -Wno-missing-field-initializers) endif() -# Unity builds need big objects for MSVC... if(MSVC AND ENABLE_UNITY_BUILD) - target_compile_options(yuzu /bigobj) + # Unity builds need big objects for MSVC... + target_compile_options(yuzu PRIVATE /bigobj) endif() # Remember that the linker is incredibly stupid.