Skip to content

Commit

Permalink
disable building dynamic libraries on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Dec 28, 2023
1 parent 892e05e commit 691b64e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ cmake_minimum_required(VERSION 3.1.2)

project(ebml VERSION 2.0.0)

include(CMakeDependentOption)

option(DISABLE_PKGCONFIG "Disable PkgConfig module generation" OFF)
option(DISABLE_CMAKE_CONFIG "Disable CMake package config module generation" OFF)
option(BUILD_SHARED_LIBS "Build libebml as a shared library" OFF)
cmake_dependent_option(BUILD_SHARED_LIBS "Build libebml as a shared library(except Windows)" OFF "NOT WIN32" OFF)
option(BUILD_TESTING "Build tests" OFF)

include(GNUInstallDirs)
Expand Down

0 comments on commit 691b64e

Please sign in to comment.