From 410ee18a5c64f973b522027f710d780974b1a1bf Mon Sep 17 00:00:00 2001 From: TennesseeTrash Date: Sun, 15 Jun 2025 22:19:56 +0200 Subject: [PATCH] Use the static library alias provided by piguxml config --- CMake/pugixml.cmake | 2 +- Libraries/Kanimaji/CMakeLists.txt | 2 +- Libraries/Tablegen/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMake/pugixml.cmake b/CMake/pugixml.cmake index 996f4ed..b848487 100644 --- a/CMake/pugixml.cmake +++ b/CMake/pugixml.cmake @@ -1,4 +1,4 @@ -if(NOT TARGET pugixml-static) +if(NOT TARGET pugixml::static) include(FetchContent) FetchContent_Declare( diff --git a/Libraries/Kanimaji/CMakeLists.txt b/Libraries/Kanimaji/CMakeLists.txt index 2d0181a..512379f 100644 --- a/Libraries/Kanimaji/CMakeLists.txt +++ b/Libraries/Kanimaji/CMakeLists.txt @@ -12,7 +12,7 @@ target_link_libraries(Kanimaji KVGToolsCommon PRIVATE - pugixml-static + pugixml::static ) target_include_directories(Kanimaji diff --git a/Libraries/Tablegen/CMakeLists.txt b/Libraries/Tablegen/CMakeLists.txt index 5cd1481..7d14ce3 100644 --- a/Libraries/Tablegen/CMakeLists.txt +++ b/Libraries/Tablegen/CMakeLists.txt @@ -17,7 +17,7 @@ target_link_libraries(Tablegen KVGToolsCommon PRIVATE - pugixml-static + pugixml::static ) target_sources(Tablegen