Skip to content
Snippets Groups Projects
Commit dfe5b509 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

wheel: reduce the size of Linux and macOS wheels

Wheels make copies of files instead of storing symlinks. Drop the
information in wheels to save space since they're not really reusable as
SDKs anyways.
parent 53103ba1
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,13 @@ if (VTK_CUSTOM_LIBRARY_SUFFIX STREQUAL "<DEFAULT>")
endif ()
endif ()
set(vtk_library_version_info
VERSION "${VTK_VERSION}"
SOVERSION "1")
if (VTK_WHEEL_BUILD)
set(vtk_library_version_info)
endif ()
vtk_module_build(
MODULES ${vtk_modules}
KITS ${vtk_kits}
......@@ -365,8 +372,7 @@ vtk_module_build(
CMAKE_DESTINATION "${vtk_cmake_destination}"
LICENSE_DESTINATION "${CMAKE_INSTALL_LICENSEDIR}"
LIBRARY_NAME_SUFFIX "${VTK_CUSTOM_LIBRARY_SUFFIX}"
VERSION "${VTK_VERSION}"
SOVERSION "1"
${vtk_library_version_info}
TEST_DATA_TARGET VTKData
INSTALL_HEADERS "${VTK_INSTALL_SDK}"
BUILD_WITH_KITS "${VTK_ENABLE_KITS}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment