Code Review
/
src
/
low-level-can-generator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix Config & compile errors to get built in Yocto
[src/low-level-can-generator.git]
/
conf.d
/
config.cmake
diff --git
a/conf.d/config.cmake
b/conf.d/config.cmake
index
f6e6668
..
c1720ff
100644
(file)
--- a/
conf.d/config.cmake
+++ b/
conf.d/config.cmake
@@
-59,16
+59,11
@@
set (gcc_minimal_version 4.9)
set (PKG_REQUIRED_LIST
json-c
libsystemd
set (PKG_REQUIRED_LIST
json-c
libsystemd
- afb-daemon
)
# Static constante definition
# -----------------------------
)
# Static constante definition
# -----------------------------
-#add_compile_options()
-
-# LANG Specific compile flags set for all build types
-set(CMAKE_C_FLAGS "" CACHE STRING "C compile flags")
-set(CMAKE_CXX_FLAGS "-std=c++11" CACHE STRING "C++ compile flags")
+add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
# Print a helper message when every thing is finished
# ----------------------------------------------------
# Print a helper message when every thing is finished
# ----------------------------------------------------