aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-02-15 02:27:24 +0100
committerMateja <mail@matejamaric.com>2021-02-15 02:27:24 +0100
commit2e0fffe40057a99ec284fc68b2cda411a54a0220 (patch)
tree049f794a32c4592849bed32bb04699fd950d41a4
parentf1491583afa27bd271f5ec0372773716e2f6d320 (diff)
downloaderender-2e0fffe40057a99ec284fc68b2cda411a54a0220.tar.gz
erender-2e0fffe40057a99ec284fc68b2cda411a54a0220.zip
Change C++ version.v0.3
-rw-r--r--CMakeLists.txt4
1 files 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)