From: Festus Hagen Date: Thu, 25 Aug 2016 19:03:44 +0000 (-0400) Subject: Add BUILD_SHARED_LIBS option for CMake GUI. X-Git-Tag: v1.11.1~8^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9bdd416efb5e46c8180b934985bd98adc4c2180;p=taglib Add BUILD_SHARED_LIBS option for CMake GUI. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 298ee7e3..dc7e4890 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ if(DEFINED ENABLE_STATIC) message(FATAL_ERROR "This option is no longer available, use BUILD_SHARED_LIBS instead") endif() +option(BUILD_SHARED_LIBS "Build shared libraries" OFF) if(NOT BUILD_SHARED_LIBS) add_definitions(-DTAGLIB_STATIC) endif()