From: Steve Lhomme Date: Sun, 2 Oct 2022 07:34:25 +0000 (+0200) Subject: allow selecting the DLL vs static library build more X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e9611b398cbb905059e2e3df4933025dd452d94;p=libmatroska allow selecting the DLL vs static library build more This is often done in CMake projects to show the option to the user. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 318da55..cc21f0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ project(matroska VERSION 1.8.0) 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)