Commit 0ae80fdc authored by James W. Barnett's avatar James W. Barnett
Browse files

only DESTDIR makes sense for --root

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