diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-19 21:40:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 21:40:49 +0200 |
commit | 598ef6b0b3cec72f4467552d743ed512ea7113e1 (patch) | |
tree | b06491dede00cea55f3164718b6450978fd34a91 | |
parent | Merge pull request #4783 from bunnei/nvdrv-freespace (diff) | |
parent | core: Add boxcat sources with target_sources (diff) | |
download | yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar.gz yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar.bz2 yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar.lz yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar.xz yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.tar.zst yuzu-598ef6b0b3cec72f4467552d743ed512ea7113e1.zip |
-rw-r--r-- | src/core/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 9760be4e4..b6dc25f6b 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 STATIC arm/arm_interface.h arm/arm_interface.cpp @@ -303,7 +297,6 @@ add_library(core STATIC hle/service/audio/hwopus.h hle/service/bcat/backend/backend.cpp hle/service/bcat/backend/backend.h - ${BCAT_BOXCAT_ADDITIONAL_SOURCES} hle/service/bcat/bcat.cpp hle/service/bcat/bcat.h hle/service/bcat/module.cpp @@ -608,6 +601,13 @@ add_library(core STATIC tools/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 |