summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-18 14:09:04 +0200
committerLioncash <mathew1800@gmail.com>2020-10-18 14:09:06 +0200
commit0ab7bfdfcebe704357384c39262c5013d34c39e1 (patch)
treef5441b6ac914d593fbf2cb5c05f26cfc15cf3ac1
parentMerge pull request #4801 from lioncash/missing-bound (diff)
downloadyuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar.gz
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar.bz2
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar.lz
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar.xz
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.tar.zst
yuzu-0ab7bfdfcebe704357384c39262c5013d34c39e1.zip
-rw-r--r--src/core/CMakeLists.txt14
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