From: Steinar H. Gunderson Date: Sat, 15 Jul 2023 15:25:49 +0000 (+0200) Subject: Move to C++14, since newer Google Test requires that now. X-Git-Tag: 1.7.0~3 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=f023440cc34f15c0c3bdb8de62c4e3a661ef068b Move to C++14, since newer Google Test requires that now. --- diff --git a/README b/README index dfddd7a..0d99fab 100644 --- a/README +++ b/README @@ -17,7 +17,7 @@ TL;DR, please give me download link and system demands OK, you need -* A C++11 compiler. GCC will do. (I haven't tried Windows, but it +* A C++14 compiler. GCC will do. (I haven't tried Windows, but it works fine on Linux and OS X, and Movit is not very POSIX-bound.) * GNU Make. * A GPU capable of running OpenGL 3.0 or newer. GLES3 (for mobile devices) diff --git a/configure.ac b/configure.ac index 5bc98f0..590845a 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ PKG_CHECK_MODULES([Eigen3], [eigen3]) PKG_CHECK_MODULES([epoxy], [epoxy]) PKG_CHECK_MODULES([FFTW3], [fftw3]) -CXXFLAGS="$CXXFLAGS -std=gnu++11" +CXXFLAGS="$CXXFLAGS -std=gnu++14" # Needed for unit tests and the demo app. with_demo_app=yes