From 8c709b8cb0b174e096a43dab07b4ee6b95ce674b Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Sat, 29 Jun 2024 08:00:56 +0200 Subject: [PATCH] Update CMakeLists.txt Uniform cmale version ( remove deprecation warning in modern cmake) Switch to c++14 (same used in ogre) --- Samples/Tutorials/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Samples/Tutorials/CMakeLists.txt b/Samples/Tutorials/CMakeLists.txt index 0397276fa7b..4b04a149eed 100644 --- a/Samples/Tutorials/CMakeLists.txt +++ b/Samples/Tutorials/CMakeLists.txt @@ -1,8 +1,6 @@ -cmake_minimum_required (VERSION 3.10) -project(OgreTutorialsSample) +cmake_minimum_required(VERSION 3.13.0) -# required for Ogre 1.11+ -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) ## [discover_ogre] # The COMPONENTS part checks that OGRE was built the way we need it