[chrome-gnome-shell/feature/distutils] Pass CMAKE_INSTALL_PREFIX to setup.py
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell/feature/distutils] Pass CMAKE_INSTALL_PREFIX to setup.py
- Date: Sun, 7 Aug 2016 11:17:17 +0000 (UTC)
commit 76f81ac80c92f1e3a119c26d14c9979d8cabb31f
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Sun Aug 7 14:17:09 2016 +0300
Pass CMAKE_INSTALL_PREFIX to setup.py
CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12233a3..86fbc86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,7 +91,7 @@ if(BUILD_CONNECTOR)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.chrome_gnome_shell.json"
"${CMAKE_BINARY_DIR}/")
- install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${CONNECTOR_SETUP} install)")
+ install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${CONNECTOR_SETUP} install --root
${CMAKE_INSTALL_PREFIX})")
install(FILES "${CMAKE_BINARY_DIR}/io.github.ne0sight.gs_chrome_connector.json" DESTINATION
"/etc/chromium/native-messaging-hosts/")
install(FILES "${CMAKE_BINARY_DIR}/io.github.ne0sight.gs_chrome_connector.json" DESTINATION
"/etc/opt/chrome/native-messaging-hosts/")
install(FILES "${CMAKE_BINARY_DIR}/org.gnome.chrome_gnome_shell.json" DESTINATION
"/etc/chromium/native-messaging-hosts/")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]