Skip to content
Snippets Groups Projects
Commit c4bb9839 authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot
Browse files

Merge topic 'fix-wheel-building' into release


4856e3fa ENH: Facilitate building wheels.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarMatt McCormick <matt@mmmccormick.com>
Merge-request: !4913
parents 106c747a 4856e3fa
No related branches found
Tags v7.1.1
No related merge requests found
......@@ -51,14 +51,16 @@ else()
CACHE INTERNAL "Directory where python modules will be built")
endif()
if(WIN32 AND NOT CYGWIN)
set(VTK_INSTALL_PYTHON_MODULES_DIR
"${VTK_INSTALL_RUNTIME_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}"
CACHE INTERNAL "Directory where python modules will be installed")
else()
set(VTK_INSTALL_PYTHON_MODULES_DIR
"${VTK_INSTALL_LIBRARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}"
CACHE INTERNAL "Directory where python modules will be installed")
if(NOT DEFINED VTK_INSTALL_PYTHON_MODULES_DIR)
if(WIN32 AND NOT CYGWIN)
set(VTK_INSTALL_PYTHON_MODULES_DIR
"${VTK_INSTALL_RUNTIME_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}"
CACHE INTERNAL "Directory where python modules will be installed")
else()
set(VTK_INSTALL_PYTHON_MODULES_DIR
"${VTK_INSTALL_LIBRARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}"
CACHE INTERNAL "Directory where python modules will be installed")
endif()
endif()
# Export location of python module dirs in install and build tree for for
......
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