summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-10 00:12:48 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-10 21:36:23 +0200
commitb82f7f7be198dcdc793b919d1534efef72fb4571 (patch)
tree44a36e61fadbd4641e3e3fff9cddf8e4c1b6d2cf
parent793e4181cdcb5c5b3a0d3d77ea09df822dbe71cc (diff)
Move cmake install prefix
Move cmake install prefix from config.cmake to distrib osconfig.cmake. Change-Id: I0e89e9b2a63941eced787ccd77313e441b0132f8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--conf.d/cmake/00-opensuse-osconfig.cmake2
-rw-r--r--conf.d/cmake/config.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/cmake/00-opensuse-osconfig.cmake b/conf.d/cmake/00-opensuse-osconfig.cmake
index b750ece..3f2e833 100644
--- a/conf.d/cmake/00-opensuse-osconfig.cmake
+++ b/conf.d/cmake/00-opensuse-osconfig.cmake
@@ -1,4 +1,4 @@
message(STATUS "*** Notice: OpenSuSe LUA-5.3+DynApi")
list(APPEND PKG_REQUIRED_LIST lua>=5.3)
-
+set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
set(USE_EFENCE 0)
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index f0dbb14..ca05ffb 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -81,7 +81,7 @@ set (PKG_REQUIRED_LIST
# Prefix path where will be installed the files
# Default: /usr/local (need root permission to write in)
# ------------------------------------------------------
-set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
+#set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
# Customize link option
# -----------------------------