diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-09 13:11:25 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:20 +0200 |
commit | 1e498976cfe8e9ad88cea83bcba5e119a726b3fc (patch) | |
tree | b755f255ab216664b747ec1453d5a4884e6dbfd3 /reference/etc/config.cmake | |
parent | 724626233e38f3edac8dba45b2eb488674a12f3b (diff) |
Check compiler version to ensure a minimal version.
Change-Id: I619ba2c41e9e5f46b1d10d31510794b6577fce85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'reference/etc/config.cmake')
-rw-r--r-- | reference/etc/config.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/reference/etc/config.cmake b/reference/etc/config.cmake index a88fcf0..596cfbb 100644 --- a/reference/etc/config.cmake +++ b/reference/etc/config.cmake @@ -44,10 +44,9 @@ set(PROJECT_LANGUAGES,"C") # ---------------------------------- set(CMAKE_BUILD_TYPE "DEBUG") -# Compiler selection if needed. Overload the detected compiler. +# Compiler selection if needed. Impose a minimal version. # ----------------------------------------------- -#set(CMAKE_C_COMPILER "gcc") -#set(CMAKE_CXX_COMPILER "g++") +set (gcc_minimal_version 4.9) # PKG_CONFIG required packages # ----------------------------- |