Fix 3MF presence test.

pull/4173/head
Jérémie Dumas 2021-11-13 08:56:52 -08:00
parent c3ac5569c5
commit 78d72bff59
1 changed files with 2 additions and 1 deletions

View File

@ -953,7 +953,8 @@ ELSE()
ENDIF()
# zip (https://github.com/kuba--/zip)
IF(3MF IN_LIST ASSIMP_EXPORTERS_ENABLED)
separate_arguments(ASSIMP_EXPORTERS_LIST UNIX_COMMAND ${ASSIMP_EXPORTERS_ENABLED})
IF(3MF IN_LIST ASSIMP_EXPORTERS_LIST)
IF(ASSIMP_HUNTER_ENABLED)
hunter_add_package(zip)
find_package(zip CONFIG REQUIRED)