diff options
Diffstat (limited to 'externals/CMakeLists.txt')
| -rw-r--r-- | externals/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index a4c2ffc10..9eebc7d65 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -174,8 +174,11 @@ target_include_directories(stb PUBLIC ./stb) | |||
| 174 | add_library(bc_decoder bc_decoder/bc_decoder.cpp) | 174 | add_library(bc_decoder bc_decoder/bc_decoder.cpp) |
| 175 | target_include_directories(bc_decoder PUBLIC ./bc_decoder) | 175 | target_include_directories(bc_decoder PUBLIC ./bc_decoder) |
| 176 | 176 | ||
| 177 | add_library(renderdoc INTERFACE) | 177 | if (NOT TARGET RenderDoc::API) |
| 178 | target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc) | 178 | add_library(renderdoc INTERFACE) |
| 179 | target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc) | ||
| 180 | add_library(RenderDoc::API ALIAS renderdoc) | ||
| 181 | endif() | ||
| 179 | 182 | ||
| 180 | if (ANDROID) | 183 | if (ANDROID) |
| 181 | if (ARCHITECTURE_arm64) | 184 | if (ARCHITECTURE_arm64) |