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()