From 78d72bff59aa2fbba7c42cef6d94c8b99b90532a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81re=CC=81mie=20Dumas?= Date: Sat, 13 Nov 2021 08:56:52 -0800 Subject: [PATCH] Fix 3MF presence test. --- code/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 423057068..f5f3d754e 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -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)