VERY experimental Nintendo Switch 2 emulator
C++
core: Add boxcat sources with target_sources
Lioncasha1b5ea953f23
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txtindex 9760be4e40..b6dc25f6be 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -1,9 +1,3 @@-if (YUZU_ENABLE_BOXCAT)- set(BCAT_BOXCAT_ADDITIONAL_SOURCES hle/service/bcat/backend/boxcat.cpp hle/service/bcat/backend/boxcat.h)-else()- set(BCAT_BOXCAT_ADDITIONAL_SOURCES)-endif()-add_library(core STATICarm/arm_interface.harm/arm_interface.cpp@@ -303,7 +297,6 @@ add_library(core STATIChle/service/audio/hwopus.hhle/service/bcat/backend/backend.cpphle/service/bcat/backend/backend.h- ${BCAT_BOXCAT_ADDITIONAL_SOURCES}hle/service/bcat/bcat.cpphle/service/bcat/bcat.hhle/service/bcat/module.cpp@@ -608,6 +601,13 @@ add_library(core STATICtools/freezer.h)+if (YUZU_ENABLE_BOXCAT)+ target_sources(core PRIVATE+ hle/service/bcat/backend/boxcat.cpp+ hle/service/bcat/backend/boxcat.h+ )+endif()+if (MSVC)target_compile_options(core PRIVATE# 'expression' : signed/unsigned mismatch