From abcfea29947ccbbdaece08d6a4cbdd59d3ef5629 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 18 Aug 2020 19:32:11 +0100 Subject: [PATCH] Changed minimum supported Cmake Version to allow C++17 Support Change-Id: I6bb11ccb126c030a5c4e0991cc2d4960ec845301 --- README.md | 1 + build/tizen/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b43261f..e3bed27 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ - Ubuntu 16.04 or later - Environment created using dali_env script in dali-core repository - GCC version 9 + - Cmake version 3.8.2 or later DALi requires a compiler supporting C++17 features. diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index b1f48de..3ece9fd 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -1,8 +1,8 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 3.1) +CMAKE_MINIMUM_REQUIRED(VERSION 3.8.2) CMAKE_POLICY(SET CMP0012 NEW) # Prevent dereferencing of OFF/ON as variables SET(CMAKE_C_STANDARD 99) -SET(CMAKE_CXX_STANDARD 14) +SET(CMAKE_CXX_STANDARD 17) PROJECT(${name} CXX) SET(PKG_NAME ${name}) -- 2.7.4