CMake: Mark draco as a private dependency since assimp does not publicly expose its interface.

pull/5535/head
Alex Rønne Petersen 2024-04-08 18:43:52 +02:00
parent 8b9ed34eaa
commit 8e34bcd9f1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1286,7 +1286,7 @@ IF(ASSIMP_HUNTER_ENABLED)
endif()
if (ASSIMP_BUILD_DRACO)
target_link_libraries(assimp PUBLIC ${draco_LIBRARIES})
target_link_libraries(assimp PRIVATE ${draco_LIBRARIES})
endif()
ELSE()
TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES} ${OPENDDL_PARSER_LIBRARIES})