diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-25 23:21:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 23:21:37 +0200 |
commit | 43be2bfe332d5537041262eb08037993239eaf5f (patch) | |
tree | 65ad2049b7ce6b0464069d23058a25fc4c457fff /externals/CMakeLists.txt | |
parent | Merge pull request #11876 from liamwhite/apiversion (diff) | |
parent | cmake: prefer system stb headers (diff) | |
download | yuzu-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.txt | 6 |
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) |