summaryrefslogtreecommitdiffstats
path: root/reference/etc
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-05 00:16:26 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-05 00:16:26 +0200
commite596d761c57a4743e0e0e33bed1ca67a3c3f0d82 (patch)
tree5a8d9ca0e036ffbbb6f3ee836e6deb0feaed041a /reference/etc
parentb9a79a1e41d77ac41285500cb4353ef20955d6e1 (diff)
Fix: wrong reference to environment variable.
Change-Id: Id352943ac3b57e6230ac1d6d3e2d53736b12e4ba Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'reference/etc')
-rw-r--r--reference/etc/config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference/etc/config.cmake b/reference/etc/config.cmake
index 6566ed5..c35e2fd 100644
--- a/reference/etc/config.cmake
+++ b/reference/etc/config.cmake
@@ -71,7 +71,7 @@ set(CMAKE_CXX_FLAGS "")
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
# ---------------------------------------------------------------------
-set(CMAKE_INSTALL_PREFIX ${HOME}/opt)
+set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)