Skip to content

Commit 4d93d15

Browse files
COMP: Remove SO names to prevent file duplication in ZIP
ZIP format do not support symlinks, to handle this, zip will copy the files instead of storing the symlink causing files to be stored three times instead of once.
1 parent d628963 commit 4d93d15

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

patch/Libs/vtkITK/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ set(classes
6464
vtkITKImageThresholdCalculator
6565
vtkITKImageWriter
6666
vtkITKGradientAnisotropicDiffusionImageFilter
67-
#vtkITKGrowCut # Currently excluded due to being a 50Mio large object that takes 10 minutes to build
67+
#vtkITKGrowCut # Currently excluded due to being a 50Mio large object that takes 10 minutes to build and consumes 10Gio of RAM
6868
vtkITKDistanceTransform
6969
vtkITKLabelShapeStatistics
7070
vtkITKLevelTracingImageFilter

patch/SlicerCore/CMake/SlicerCoreSuperbuild.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ set(CMAKE_CXX_STANDARD "17")
2727
set(CMAKE_CXX_STANDARD_REQUIRED "ON")
2828
set(CMAKE_CXX_EXTENSIONS "OFF")
2929
set(CMAKE_POSITION_INDEPENDENT_CODE "TRUE")
30+
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME "TRUE")
3031

3132
# All deps are install in a single prefix for easier finds
3233
set(EP_DEPENDENCIES_INSTALL_DIR "${CMAKE_BINARY_DIR}/deps-install")
@@ -51,6 +52,7 @@ mark_as_superbuild(
5152
CMAKE_CXX_STANDARD_REQUIRED
5253
CMAKE_CXX_EXTENSIONS
5354
CMAKE_POSITION_INDEPENDENT_CODE
55+
CMAKE_PLATFORM_NO_VERSIONED_SONAME
5456
# forward VTK and helper prefixes
5557
CMAKE_PREFIX_PATH
5658
CMAKE_MODULE_PATH

0 commit comments

Comments
 (0)