Changed minimum supported Cmake Version to allow C++17 Support 92/241392/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 18 Aug 2020 18:31:59 +0000 (19:31 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 19 Aug 2020 17:59:46 +0000 (18:59 +0100)
Change-Id: Ieb2bc95af08955737f6477ba99a1edf8f5ef9333

README.md
build/tizen/CMakeLists.txt

index 97bbf31357af2e1b040360c175bdcaff8360cb85..cca26e5c764d406923a3da4ea2cb57031be70cdc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -24,6 +24,7 @@
 
  - Ubuntu 16.04 or later
  - GCC version 9
+ - Cmake version 3.8.2 or later
 
 DALi requires a compiler supporting C++17 features.
 
index 8fb4f636328115eb98fc58b6002afb164e179b07..f174d4cb414b49b45cfc471f7a47b654c0135353 100644 (file)
@@ -1,10 +1,10 @@
-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(name "dali2-core")
 
 SET(CMAKE_C_STANDARD 99)
-SET(CMAKE_CXX_STANDARD 14)
+SET(CMAKE_CXX_STANDARD 17)
 PROJECT(${name})
 SET(PKG_NAME ${name})