diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-07 13:13:15 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-07 13:13:15 +0200 |
commit | e664137cd8fb59b02be02f075a78ca3eabdb6459 (patch) | |
tree | b0ee42f05e90905bc6c7d76dddef18315d32e87d | |
parent | 4f4be8b532332735768c07f8fb3ca105c579c0be (diff) |
Fix: Yocto build error
Change-Id: Ic20d6753cfe24de2dfdc173f18328af91bb07206
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
m--------- | conf.d/app-templates | 0 | ||||
-rw-r--r-- | conf.d/config.cmake | 6 |
2 files changed, 1 insertions, 5 deletions
diff --git a/conf.d/app-templates b/conf.d/app-templates -Subproject fe3c86e6407ae45d7b5ab72df7911daa426caba +Subproject 48149ace0b3cdcd874c4d0ae35586657ca04628 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($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>) # Print a helper message when every thing is finished # ---------------------------------------------------- |