]> granicus.if.org Git - libmatroska/commitdiff
CMake: require C++11
authorMoritz Bunkus <moritz@bunkus.org>
Mon, 22 Jun 2020 09:04:01 +0000 (11:04 +0200)
committerMoritz Bunkus <moritz@bunkus.org>
Mon, 22 Jun 2020 09:04:01 +0000 (11:04 +0200)
As discussed in https://github.com/Matroska-Org/libebml/issues/65

CMakeLists.txt

index a4c2a48c7d600e4185c7934dfa14f83e7a1f38fe..71b903198e74c6f813e13ddcbf8eccef6c773e52 100644 (file)
@@ -9,6 +9,9 @@ find_package(EBML 1.3.9 REQUIRED)
 
 include(GNUInstallDirs)
 
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
 set(libmatroska_SOURCES
   src/FileKax.cpp
   src/KaxAttached.cpp