aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-03-22 11:01:34 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-03-22 11:01:34 +0100
commit5c0522378bf12d2103093eef813f962864bec692 (patch)
treed9980a37dbfb2db7cfe34eb996298668212b560f
parent1eb7fc7fa029f52ded8d8210638b25322aaf6816 (diff)
Use C++11 standard by defaultsandbox/claneys/pkg_wip
Needed for older Ubuntu LTS distribution 16.04 Change-Id: I7c1d23eecf34b2e86cfcd9de5a8f755c690cbe26 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95ce156..4815dfb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,8 @@ set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/
set(PROJECT_AUTHOR "Ar Foll, Fulup")
set(PROJECT_AUTHOR_MAIL "fulup@iot.bzh")
set(PROJECT_LICENSE "APL2.0")
-set(PROJECT_LANGUAGES "C")
+set(PROJECT_LANGUAGES "C CXX")
+set (CMAKE_CXX_STANDARD 11)
if(NOT CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr")