diff --git a/cmake/lib3mfConfig.cmake b/cmake/lib3mfConfig.cmake index ec9f609f6..6191c184b 100644 --- a/cmake/lib3mfConfig.cmake +++ b/cmake/lib3mfConfig.cmake @@ -79,12 +79,7 @@ else() if(APPLE) # On macOS, copy .dylib files, preserving symlinks only if they don't already exist in the target directory add_custom_command(TARGET ${target} POST_BUILD - COMMAND sh -c "for file in '${lib3mf_LIBRARY_DIR}/lib3mf.dylib'*; do \ - target_file='$