Skip to content

Commit

Permalink
cmake: only set VTK_PYTHON_SITE_PACKAGES_SUFFIX if not set
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstuf committed May 15, 2019
1 parent dbb9eab commit d3e8913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ endif ()

if ("VTK::Python" IN_LIST vtk_modules)
include(vtkModuleWrapPython)
vtk_module_python_default_destination(VTK_PYTHON_SITE_PACKAGES_SUFFIX)
if (NOT DEFINED VTK_PYTHON_SITE_PACKAGES_SUFFIX)
vtk_module_python_default_destination(VTK_PYTHON_SITE_PACKAGES_SUFFIX)
endif ()
endif ()

option(VTK_ENABLE_KITS "Enable kits compilation" OFF)
Expand Down

0 comments on commit d3e8913

Please sign in to comment.