diff --git a/tools/postinstall-fixup/CMakeLists.txt b/tools/postinstall-fixup/CMakeLists.txt index 790ea2ee2ae..73af20475b4 100644 --- a/tools/postinstall-fixup/CMakeLists.txt +++ b/tools/postinstall-fixup/CMakeLists.txt @@ -1,5 +1,5 @@ # Post-install scripts -if(NOT SOFA_BUILD_RELEASE_PACKAGE) +if(NOT SOFA_BUILD_RELEASE_PACKAGE AND NOT CMAKE_SYSTEM_NAME STREQUAL Windows) return() endif() diff --git a/tools/postinstall-fixup/windows-postinstall-fixup.sh b/tools/postinstall-fixup/windows-postinstall-fixup.sh index cd05dde105b..a09cec488a7 100644 --- a/tools/postinstall-fixup/windows-postinstall-fixup.sh +++ b/tools/postinstall-fixup/windows-postinstall-fixup.sh @@ -33,8 +33,3 @@ move_metis "$INSTALL_DIR" cd "$INSTALL_DIR" && find -name "*.dll" -path "*/plugins/*" | while read lib; do cp "$lib" "$INSTALL_DIR_BIN" done - -# Copy all collection libs in install/bin to make them easily findable -cd "$INSTALL_DIR" && find -name "*.dll" -path "*/collections/*" | while read lib; do - cp "$lib" "$INSTALL_DIR_BIN" -done