Remove relative pathing in target_sources() as per CMP0076

pull/3571/head
JacksonM8 2021-01-07 01:23:41 +10:30
parent d0e57e2554
commit 3eed6fa006
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ if(ASSIMP_HUNTER_ENABLED)
find_package(GTest CONFIG REQUIRED) find_package(GTest CONFIG REQUIRED)
target_link_libraries(unit GTest::gtest_main GTest::gmock) target_link_libraries(unit GTest::gtest_main GTest::gmock)
else() else()
target_sources(unit PUBLIC ../contrib/gtest/src/gtest-all.cc) target_sources(unit PUBLIC ${Assimp_SOURCE_DIR}/contrib/gtest/src/gtest-all.cc)
endif() endif()
TARGET_USE_COMMON_OUTPUT_DIRECTORY(unit) TARGET_USE_COMMON_OUTPUT_DIRECTORY(unit)