summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake/00-default-osconfig.cmake
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-05 18:26:05 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:52:51 +0200
commit3f2dc281da4c54b1b91a4cf865fed21321801bce (patch)
treea8b033c8498b4a9ee3e90d1c35951371d15fd9c8 /conf.d/cmake/00-default-osconfig.cmake
parentf90ddc883cf7ac1096bb89a320fae272abbb6c3b (diff)
Move cmake install prefix
Move cmake install prefix from config.cmake to distrib osconfig.cmake. Change-Id: I7b5e0b83a5afbfb64ccfba681efa757d2800fda7 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'conf.d/cmake/00-default-osconfig.cmake')
-rw-r--r--conf.d/cmake/00-default-osconfig.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.d/cmake/00-default-osconfig.cmake b/conf.d/cmake/00-default-osconfig.cmake
index 7762c85..b353fd7 100644
--- a/conf.d/cmake/00-default-osconfig.cmake
+++ b/conf.d/cmake/00-default-osconfig.cmake
@@ -1,2 +1,3 @@
list(APPEND PKG_REQUIRED_LIST lua>=5.3)
-add_compile_options(-DUSE_API_DYN) \ No newline at end of file
+add_compile_options(-DUSE_API_DYN)
+set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) \ No newline at end of file