summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-25 23:21:37 +0200
committerGitHub <noreply@github.com>2023-10-25 23:21:37 +0200
commit43be2bfe332d5537041262eb08037993239eaf5f (patch)
tree65ad2049b7ce6b0464069d23058a25fc4c457fff /externals/CMakeLists.txt
parentMerge pull request #11876 from liamwhite/apiversion (diff)
parentcmake: prefer system stb headers (diff)
downloadyuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.gz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.bz2
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.lz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.xz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.zst
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.zip
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 64b48fd7b..6e5bfbba6 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -168,9 +168,13 @@ if (NOT TARGET LLVM::Demangle)
add_library(LLVM::Demangle ALIAS demangle)
endif()
-add_library(stb stb/stb_dxt.cpp stb/stb_image.cpp stb/stb_image_resize.cpp stb/stb_image_write.cpp)
+add_library(stb stb/stb_dxt.cpp)
target_include_directories(stb PUBLIC ./stb)
+if (NOT TARGET stb::headers)
+ add_library(stb::headers ALIAS stb)
+endif()
+
add_library(bc_decoder bc_decoder/bc_decoder.cpp)
target_include_directories(bc_decoder PUBLIC ./bc_decoder)