You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
869 B
25 lines
869 B
5 years ago
|
From 9ec857bb403accc262a9b5a9c2921b5c064fc9c8 Mon Sep 17 00:00:00 2001
|
||
|
From: Sebastian Kraft <mail@sebastiankraft.net>
|
||
|
Date: Sat, 9 Jan 2016 20:55:21 +0100
|
||
|
Subject: [PATCH 059/113] Patch #47: respect DESTDIR when installing python
|
||
|
stuff
|
||
|
|
||
|
---
|
||
|
apps/CMakeLists.txt | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
|
||
|
index 70c77fd..2f6f8f1 100644
|
||
|
--- a/apps/CMakeLists.txt
|
||
|
+++ b/apps/CMakeLists.txt
|
||
|
@@ -42,5 +42,5 @@ IF(PYTHON)
|
||
|
IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
|
||
|
SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||
|
ENDIF()
|
||
|
- INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX})")
|
||
|
+ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
|
||
|
ENDIF(PYTHON)
|
||
|
--
|
||
|
2.7.4
|
||
|
|