From 60367c79d39405230ab51a14f8ad0c6fcba9a59e Mon Sep 17 00:00:00 2001 From: Olivier Roussel Date: Thu, 22 Jan 2026 08:21:40 +0100 Subject: [PATCH 1/2] apply windows postinstall script also on non-release builds --- tools/postinstall-fixup/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From 79e4d44654d7ae16a8448ad8dc4314aca480035e Mon Sep 17 00:00:00 2001 From: Olivier Roussel Date: Thu, 22 Jan 2026 08:22:07 +0100 Subject: [PATCH 2/2] remove deprecated collections postinstall fixes --- tools/postinstall-fixup/windows-postinstall-fixup.sh | 5 ----- 1 file changed, 5 deletions(-) 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