From e664137cd8fb59b02be02f075a78ca3eabdb6459 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 7 Jul 2017 13:13:15 +0200 Subject: Fix: Yocto build error Change-Id: Ic20d6753cfe24de2dfdc173f18328af91bb07206 Signed-off-by: Romain Forlot --- conf.d/app-templates | 2 +- conf.d/config.cmake | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/conf.d/app-templates b/conf.d/app-templates index fe3c86e..48149ac 160000 --- a/conf.d/app-templates +++ b/conf.d/app-templates @@ -1 +1 @@ -Subproject commit fe3c86e6407ae45d7b5ab72df7911daa426caba8 +Subproject commit 48149ace0b3cdcd874c4d0ae35586657ca046286 diff --git a/conf.d/config.cmake b/conf.d/config.cmake index b2e7b91..3554631 100644 --- a/conf.d/config.cmake +++ b/conf.d/config.cmake @@ -71,11 +71,7 @@ set (PKG_REQUIRED_LIST # Static constante definition # ----------------------------- -add_compile_options() - -# LANG Specific compile flags set for all build types -set(CMAKE_C_FLAGS "") -set(CMAKE_CXX_FLAGS "-std=c++11") +add_compile_options($<$:-std=c++11>) # Print a helper message when every thing is finished # ---------------------------------------------------- -- cgit 1.2.3-korg