Explain to the build system that we would like to use MacPorts versions of these libraries, not the bundled ones which may become out of date. --- code/CMakeLists.txt.orig 2022-03-17 05:35:44.000000000 -0500 +++ code/CMakeLists.txt 2022-04-18 14:44:47.000000000 -0500 @@ -896,8 +896,7 @@ SOURCE_GROUP( Extra FILES ${Extra_SRCS}) # pugixml -IF(ASSIMP_HUNTER_ENABLED) - hunter_add_package(pugixml) +IF(TRUE) find_package(pugixml CONFIG REQUIRED) ELSE() SET( Pugixml_SRCS @@ -950,9 +949,9 @@ ENDIF() # minizip/unzip -IF(ASSIMP_HUNTER_ENABLED) - hunter_add_package(minizip) - find_package(minizip CONFIG REQUIRED) +IF(TRUE) + #minizip does not ship with CMake files + #find_package(minizip CONFIG REQUIRED) ELSE() SET( unzip_SRCS ../contrib/unzip/crypt.c @@ -1213,7 +1212,7 @@ target_link_libraries(assimp PUBLIC ${draco_LIBRARIES}) endif() ELSE() - TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES} ${OPENDDL_PARSER_LIBRARIES}) + TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES} ${OPENDDL_PARSER_LIBRARIES} minizip pugixml) if (ASSIMP_BUILD_DRACO) target_link_libraries(assimp ${draco_LIBRARIES}) endif()