2011-04-19 17:17:29 +02:00
|
|
|
diff -ur VTK//Wrapping/Python/CMakeLists.txt VTK.new//Wrapping/Python/CMakeLists.txt
|
|
|
|
--- VTK//Wrapping/Python/CMakeLists.txt 2010-09-28 02:10:11.000000000 +0530
|
|
|
|
+++ VTK.new//Wrapping/Python/CMakeLists.txt 2011-03-23 23:01:48.995000067 +0530
|
|
|
|
@@ -417,7 +417,7 @@
|
2009-01-03 18:37:43 +01:00
|
|
|
|
2008-08-09 15:10:45 +02:00
|
|
|
# Create default python setup arguments if they are not set.
|
2009-01-03 18:37:43 +01:00
|
|
|
IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|
2008-08-09 15:10:45 +02:00
|
|
|
- SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
|
2011-04-19 17:17:29 +02:00
|
|
|
+ SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\" --root=\"${DOLLAR}ENV{DESTDIR}\""
|
2008-08-09 15:10:45 +02:00
|
|
|
CACHE STRING "Arguments passed to \"python setup.py install ...\" during installation.")
|
|
|
|
MARK_AS_ADVANCED(VTK_PYTHON_SETUP_ARGS)
|
2009-01-03 18:37:43 +01:00
|
|
|
ENDIF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|