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>2018-10-15 18:22:20 +0200
commite5de88126771ad86af3374e0180b175f8ffda070 (patch)
tree980176da6de22e825a823e9f9535940adbcd4e52 /reference/etc
parente262501c1b9430baf606a56998791e2a5174fffc (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)