Changed minimum supported Cmake Version to allow C++17 Support 93/241393/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 18 Aug 2020 18:32:11 +0000 (19:32 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 19 Aug 2020 18:00:52 +0000 (19:00 +0100)
Change-Id: I6bb11ccb126c030a5c4e0991cc2d4960ec845301

README.md
build/tizen/CMakeLists.txt

index b43261f..e3bed27 100644 (file)
--- 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.
 
index b1f48de..3ece9fd 100644 (file)
@@ -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})