From ab4137aacca48f655e3d3b78b64a174f4029ed52 Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 23 Jul 2020 00:10:50 +0800 Subject: [PATCH] Try cpp14 --- cmake/Modules/CocosConfigDefine.cmake | 4 ++-- external/config.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/CocosConfigDefine.cmake b/cmake/Modules/CocosConfigDefine.cmake index 8d1284ef11..4e3593054a 100644 --- a/cmake/Modules/CocosConfigDefine.cmake +++ b/cmake/Modules/CocosConfigDefine.cmake @@ -58,9 +58,9 @@ define_property(TARGET ) # check c++ standard -set(CMAKE_C_STANDARD 99) +set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) diff --git a/external/config.json b/external/config.json index 4c522b4f60..03f1bf3b94 100644 --- a/external/config.json +++ b/external/config.json @@ -1,5 +1,5 @@ { - "version": "v45", + "version": "v46", "zip_file_size": "107642814", "repo_name": "engine-x-3rd", "repo_parent": "https://github.com/c4games/",