]> granicus.if.org Git - taglib/commitdiff
Add BUILD_SHARED_LIBS option for CMake GUI.
authorFestus Hagen <festushagen2002@yahoo.com>
Thu, 25 Aug 2016 19:03:44 +0000 (15:03 -0400)
committerFestus Hagen <festushagen2002@yahoo.com>
Thu, 25 Aug 2016 19:03:44 +0000 (15:03 -0400)
CMakeLists.txt

index 298ee7e37cbc63946a4404bb305fe9aeba8b8bf5..dc7e48904b2eafdaa8bf9fc15912e146a5558b9a 100644 (file)
@@ -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()