Switch to c++17 10/244410/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 18 Sep 2020 07:53:41 +0000 (09:53 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 18 Sep 2020 07:53:41 +0000 (09:53 +0200)
Latest key-manager changes require c++17.

Change-Id: Ifadce309c2fa195fe4d2a432770803308f1e29d1

CMakeLists.txt

index 26b21d0..e941f15 100644 (file)
@@ -35,7 +35,7 @@ INCLUDE(FindPkgConfig)
 ############################# compiler flags ##################################
 
 SET(CMAKE_C_FLAGS              "-g")
-SET(CMAKE_CXX_FLAGS            "-g -std=c++14")
+SET(CMAKE_CXX_FLAGS            "-g -std=c++17")
 SET(CMAKE_C_FLAGS_PROFILING    "-O0 -pg")
 SET(CMAKE_CXX_FLAGS_PROFILING  "-O0 -pg")
 SET(CMAKE_C_FLAGS_DEBUG        "-O0 -ggdb")