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

vtkWheelPreparation: fix library destinations for wheels

parent 974b207b
No related branches found
No related tags found
No related merge requests found
......@@ -49,12 +49,19 @@ set(vtk_hierarchy_destination_args
set(setup_py_build_dir
"build/lib.${python_platform}-${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}")
# Required for Windows DLL placement.
set(CMAKE_INSTALL_BINDIR
# Must correlate with `vtk_module_wrap_python(PYTHON_PACKAGE)` argument
"${setup_py_build_dir}/vtkmodules")
set(CMAKE_INSTALL_LIBDIR
# Must correlate with `vtk_module_wrap_python(PYTHON_PACKAGE)` argument
"${setup_py_build_dir}/vtkmodules")
if (WIN32)
set(CMAKE_INSTALL_BINDIR
# Must correlate with `vtk_module_wrap_python(PYTHON_PACKAGE)` argument
"${setup_py_build_dir}/vtkmodules")
elseif (APPLE)
set(CMAKE_INSTALL_LIBDIR
# Store libraries in a subdirectory here.
"${setup_py_build_dir}/vtkmodules/.dylibs")
else ()
set(CMAKE_INSTALL_LIBDIR
# Linux bundles what libraries we have when they're put beside the modules.
"${setup_py_build_dir}/vtkmodules")
endif ()
set(VTK_PYTHON_SITE_PACKAGES_SUFFIX ".")
set(VTK_CUSTOM_LIBRARY_SUFFIX "")
set(VTK_INSTALL_SDK OFF)
......
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