Commit 8de862a7 authored by Ben Boeckel's avatar Ben Boeckel Committed by Code Review

Merge topic 'remove-wrap-python-variable' into master

21d93e9a wrapping: remove the ${module}_WRAP_PYTHON variable
parents 71fc80ff 21d93e9a
......@@ -252,11 +252,6 @@ if(VTK_WRAP_PYTHON)
if(NOT VTK_WRAP_PYTHON_MODULES)
set(VTK_WRAP_PYTHON_MODULES ${VTK_MODULES_ENABLED})
endif()
foreach(_wrap_module ${VTK_WRAP_PYTHON_MODULES})
if(NOT ${_wrap_module}_EXCLUDE_FROM_WRAPPING)
set(${_wrap_module}_WRAP_PYTHON ON)
endif()
endforeach()
endif()
# Build all modules.
......
......@@ -54,7 +54,7 @@ function(vtk_add_wrapping module_name module_srcs module_hdrs)
endif()
# Now to wrap the languages that are on.
if(VTK_WRAP_PYTHON AND ${module_name}_WRAP_PYTHON AND NOT ${module_name}_EXCLUDE_FROM_PYTHON_WRAPPING)
if(VTK_WRAP_PYTHON AND NOT ${module_name}_EXCLUDE_FROM_PYTHON_WRAPPING)
# Note that the module should be Python wrapped.
set_property(GLOBAL APPEND PROPERTY VTK_PYTHON_WRAPPED ${module_name})
endif()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment