Commit f7935fef authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #1584 from wesbarnett/master

support DESTDIR in PythonInstall
parents f93e230f 0ae80fdc
...@@ -274,7 +274,7 @@ add_custom_target(PythonSdist ...@@ -274,7 +274,7 @@ add_custom_target(PythonSdist
) )
# Install binary module (to system location) # Install binary module (to system location)
set(PYTHON_SETUP_COMMAND "install") set(PYTHON_SETUP_COMMAND "install --root=\$ENV{DESTDIR}/")
configure_file(pysetup.cmake.in configure_file(pysetup.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/pysetupinstall.cmake" @ONLY) "${CMAKE_CURRENT_BINARY_DIR}/pysetupinstall.cmake" @ONLY)
add_custom_target(PythonInstall add_custom_target(PythonInstall
......
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