diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c1111e5cb..6f46b5ce9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -217,9 +217,7 @@ add_executable( unit if(ASSIMP_HUNTER_ENABLED) hunter_add_package(GTest) find_package(GTest CONFIG REQUIRED) - hunter_add_package(pugixml) - find_package(pugixml CONFIG REQUIRED) - target_link_libraries(unit GTest::gtest_main GTest::gmock pugixml::pugixml) + target_link_libraries(unit GTest::gtest_main GTest::gmock) else() target_sources(unit PUBLIC ../contrib/gtest/src/gtest-all.cc) endif()