Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
f7935fef
Commit
f7935fef
authored
Sep 14, 2016
by
peastman
Committed by
GitHub
Sep 14, 2016
Browse files
Merge pull request #1584 from wesbarnett/master
support DESTDIR in PythonInstall
parents
f93e230f
0ae80fdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/CMakeLists.txt
wrappers/python/CMakeLists.txt
+1
-1
No files found.
wrappers/python/CMakeLists.txt
View file @
f7935fef
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment