From a07a0de2310960c4d2e13cfa84551d0125958dab Mon Sep 17 00:00:00 2001 From: Michael Kuc Date: Sat, 9 May 2020 19:28:20 +0100 Subject: [PATCH] Use newer compiler than C++98. Required for standard library headers. --- 3rdparty/libprojectm/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/libprojectm/CMakeLists.txt b/3rdparty/libprojectm/CMakeLists.txt index a81a38fc6..e2b348bfd 100644 --- a/3rdparty/libprojectm/CMakeLists.txt +++ b/3rdparty/libprojectm/CMakeLists.txt @@ -24,7 +24,7 @@ set(BUILD_PROJECTM_STATIC ON) set(DISABLE_NATIVE_PRESETS ON) set(DISABLE_MILKDROP_PRESETS OFF) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") pkg_check_modules(GLEW glew)