From 2e0fffe40057a99ec284fc68b2cda411a54a0220 Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 15 Feb 2021 02:27:24 +0100 Subject: Change C++ version. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7a5bf1..4f43cfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.13) # Set project name project(erender) -# Set C++ standard -set( CMAKE_CXX_STANDARD 17 ) +# Set C++ version to 14 because sfml-audio needs auto_ptr to compile +set( CMAKE_CXX_STANDARD 14 ) # Add all files in `src` directory to SRC_LIST variable aux_source_directory(./src/ SRC_LIST) -- cgit v1.2.3