diff options
| author | 2023-10-12 16:36:26 +0200 | |
|---|---|---|
| committer | 2023-10-25 21:47:32 +0200 | |
| commit | 79ba5d9c260ca4e2890b8e9c9efd79e3df5fe763 (patch) | |
| tree | 31f33d5ccac863e5584b3be53cd2e07a314c9b8e /externals/CMakeLists.txt | |
| parent | Merge pull request #11812 from german77/save_capture (diff) | |
| download | yuzu-79ba5d9c260ca4e2890b8e9c9efd79e3df5fe763.tar.gz yuzu-79ba5d9c260ca4e2890b8e9c9efd79e3df5fe763.tar.xz yuzu-79ba5d9c260ca4e2890b8e9c9efd79e3df5fe763.zip | |
cmake: prefer system stb headers
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) | |||
| 168 | add_library(LLVM::Demangle ALIAS demangle) | 168 | add_library(LLVM::Demangle ALIAS demangle) |
| 169 | endif() | 169 | endif() |
| 170 | 170 | ||
| 171 | add_library(stb stb/stb_dxt.cpp stb/stb_image.cpp stb/stb_image_resize.cpp stb/stb_image_write.cpp) | 171 | add_library(stb stb/stb_dxt.cpp) |
| 172 | target_include_directories(stb PUBLIC ./stb) | 172 | target_include_directories(stb PUBLIC ./stb) |
| 173 | 173 | ||
| 174 | if (NOT TARGET stb::headers) | ||
| 175 | add_library(stb::headers ALIAS stb) | ||
| 176 | endif() | ||
| 177 | |||
| 174 | add_library(bc_decoder bc_decoder/bc_decoder.cpp) | 178 | add_library(bc_decoder bc_decoder/bc_decoder.cpp) |
| 175 | target_include_directories(bc_decoder PUBLIC ./bc_decoder) | 179 | target_include_directories(bc_decoder PUBLIC ./bc_decoder) |
| 176 | 180 | ||