fic tests.

pull/2966/head
Kim Kulling 2020-10-05 19:06:48 +02:00
parent 52826a03f8
commit 09a473ff02
1 changed files with 1 additions and 3 deletions

View File

@ -217,9 +217,7 @@ add_executable( unit
if(ASSIMP_HUNTER_ENABLED) if(ASSIMP_HUNTER_ENABLED)
hunter_add_package(GTest) hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED) find_package(GTest CONFIG REQUIRED)
hunter_add_package(pugixml) target_link_libraries(unit GTest::gtest_main GTest::gmock)
find_package(pugixml CONFIG REQUIRED)
target_link_libraries(unit GTest::gtest_main GTest::gmock pugixml::pugixml)
else() else()
target_sources(unit PUBLIC ../contrib/gtest/src/gtest-all.cc) target_sources(unit PUBLIC ../contrib/gtest/src/gtest-all.cc)
endif() endif()