]> granicus.if.org Git - libmatroska/commitdiff
require libEBML 2.0.0 or newer
authorMoritz Bunkus <mo@bunkus.online>
Sun, 2 Oct 2022 18:24:28 +0000 (20:24 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Tue, 4 Oct 2022 13:01:45 +0000 (15:01 +0200)
libEBML currently installs the cmake module config with "COMPATIBILITY
SameMajorVersion", meaning we cannot request "version 1.4.3 or 2.0.0
or newer" in libMatroska. As libEBML 2.0.0 is an API-breaking change
anyway, it libMatroska should not pretend to continue working with <
2.0.0 anyway.

CMakeLists.txt

index cc21f0d660b9eb355e32fe90826eb8c4eaaf5e99..5bcb8cae387effc7718f0cd7b9273ec13e4cb86f 100644 (file)
@@ -6,7 +6,7 @@ option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
 option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" OFF)
 option(BUILD_SHARED_LIBS "Build libmatroska as a shared library" OFF)
 
-find_package(EBML 1.4.3 REQUIRED)
+find_package(EBML 2.0.0 REQUIRED)
 
 include(GNUInstallDirs)