fic tests.
parent
52826a03f8
commit
09a473ff02
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue