cf48090bfd
Update to version 5.10.0 (now builds on openSUSE 11.4 as well); OBS-URL: https://build.opensuse.org/request/show/121530 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=35
14 lines
730 B
Diff
14 lines
730 B
Diff
Index: VTK/Wrapping/Python/CMakeLists.txt
|
|
===================================================================
|
|
--- VTK.orig/Wrapping/Python/CMakeLists.txt
|
|
+++ VTK/Wrapping/Python/CMakeLists.txt
|
|
@@ -558,7 +558,7 @@ IF(PYTHON_EXECUTABLE)
|
|
|
|
# Create default python setup arguments if they are not set.
|
|
IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|
|
- SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
|
|
+ SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\" --root=\"${DOLLAR}ENV{DESTDIR}\""
|
|
CACHE STRING "Arguments passed to \"python setup.py install ...\" during installation.")
|
|
MARK_AS_ADVANCED(VTK_PYTHON_SETUP_ARGS)
|
|
ENDIF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|