aboutsummaryrefslogtreecommitdiffstats
path: root/etc/config.cmake
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-05-06 18:48:58 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-05-06 18:48:58 +0200
commitdd0971e9eb5ed37343cc1826e44ea7090d0c5725 (patch)
tree378dd7586fcdae77f68b81d714bd038977519d50 /etc/config.cmake
parent4af77058f518b8326b514970e627ba289dfcf36a (diff)
Move to New Template (work in progress)
Diffstat (limited to 'etc/config.cmake')
-rw-r--r--etc/config.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/config.cmake b/etc/config.cmake
index 99424d9..ff714b7 100644
--- a/etc/config.cmake
+++ b/etc/config.cmake
@@ -35,6 +35,7 @@ set(CMAKE_BUILD_TYPE "DEBUG")
# Compiler selection if needed. Overload the detected compiler.
# -----------------------------------------------
+set (gcc_minimal_version 4.9)
#set(CMAKE_C_COMPILER "gcc")
#set(CMAKE_CXX_COMPILER "g++")
@@ -60,7 +61,7 @@ set(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=. --port=1234 --roothttp=..
# (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)