From f3b19b2ac3250d23cfff4827566cb022fb24514f Mon Sep 17 00:00:00 2001 From: Vijai Kumar S Date: Sun, 2 Jun 2024 20:50:56 +0530 Subject: [PATCH] . --- cmake/lib3mfConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/lib3mfConfig.cmake b/cmake/lib3mfConfig.cmake index 7bb581736..4f76df7db 100644 --- a/cmake/lib3mfConfig.cmake +++ b/cmake/lib3mfConfig.cmake @@ -79,7 +79,7 @@ else() if(APPLE) # On macOS, copy .dylib files, preserving symlinks add_custom_command(TARGET ${target} POST_BUILD - COMMAND sh -c "cp -P '${lib3mf_LIBRARY_DIR}/lib3mf.dylib'* '$' 2>/dev/null" + COMMAND sh -c "cp -P '${lib3mf_LIBRARY_DIR}/lib3mf.dylib'* '$' >/dev/null 2>&1 || true" COMMENT "Copying all lib3mf library files to target directory on MacOS") elseif(UNIX)