diff options
author | Alexandre Bouvier <contact@amb.tf> | 2023-09-16 18:59:53 +0200 |
---|---|---|
committer | Alexandre Bouvier <contact@amb.tf> | 2023-09-18 18:35:20 +0200 |
commit | f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3 (patch) | |
tree | 1b95e0d8de1c3c2bd6c9ac9ce07ce914b6bec15e /externals/CMakeLists.txt | |
parent | Merge pull request #11258 from Squall-Leonhart/Z16_Assert_Fix (diff) | |
download | yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar.gz yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar.bz2 yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar.lz yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar.xz yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.tar.zst yuzu-f93f31f4ae6c8ab22182ae0fdf4eb613658e98f3.zip |
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) add_library(bc_decoder bc_decoder/bc_decoder.cpp) target_include_directories(bc_decoder PUBLIC ./bc_decoder) -add_library(renderdoc INTERFACE) -target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc) +if (NOT TARGET RenderDoc::API) + add_library(renderdoc INTERFACE) + target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc) + add_library(RenderDoc::API ALIAS renderdoc) +endif() if (ANDROID) if (ARCHITECTURE_arm64) |