diff options
author | bunnei <bunneidev@gmail.com> | 2023-01-24 20:03:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 20:03:14 +0100 |
commit | 44b981fd3eb3db5c15bcc24e61bae45607223ee6 (patch) | |
tree | 62d8081e018120505df0832ca9af1671be8e8d1f /externals/CMakeLists.txt | |
parent | Merge pull request #9492 from german77/joycon_release (diff) | |
parent | cmake: prefer system llvm library (diff) | |
download | yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar.gz yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar.bz2 yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar.lz yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar.xz yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.tar.zst yuzu-44b981fd3eb3db5c15bcc24e61bae45607223ee6.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 94dd8bb62..8532fd7a8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -158,6 +158,9 @@ if (YUZU_USE_EXTERNAL_VULKAN_HEADERS) add_subdirectory(Vulkan-Headers EXCLUDE_FROM_ALL) endif() -add_library(demangle STATIC) -target_include_directories(demangle PUBLIC ./demangle) -target_sources(demangle PRIVATE demangle/ItaniumDemangle.cpp) +if (NOT TARGET LLVM::Demangle) + add_library(demangle STATIC) + target_include_directories(demangle PUBLIC ./demangle) + target_sources(demangle PRIVATE demangle/ItaniumDemangle.cpp) + add_library(LLVM::Demangle ALIAS demangle) +endif() |