From 4e61cc842dcac2845084bf19d873856dd4d79e31 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 18 Aug 2020 19:32:27 +0100 Subject: [PATCH] Changed minimum supported Cmake Version to allow C++17 Support Change-Id: I5b70d5d9629fe0415f628dc69cbbc3d5614a110a --- README.md | 1 + build/tizen/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e653068..ff51191 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,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 8837310..d122fd5 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -1,10 +1,10 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.8.2) CMAKE_POLICY(SET CMP0012 NEW) # Prevent dereferencing of OFF/ON as variables SET(name "dali2-toolkit") SET(CMAKE_C_STANDARD 99) -SET(CMAKE_CXX_STANDARD 14) +SET(CMAKE_CXX_STANDARD 17) PROJECT(${name}) SET(PKG_NAME ${name}) -- 2.7.4