Changed minimum supported Cmake Version to allow C++17 Support 94/241394/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 18 Aug 2020 18:32:27 +0000 (19:32 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 19 Aug 2020 18:01:05 +0000 (19:01 +0100)
Change-Id: I5b70d5d9629fe0415f628dc69cbbc3d5614a110a

README.md
build/tizen/CMakeLists.txt

index e653068..ff51191 100644 (file)
--- 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.
 
index 8837310..d122fd5 100644 (file)
@@ -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})