endif()
# The following options are not for end-user consumption, so don't list them in the feature summary
+option(FATAL_WARNINGS "Make compile warnings fatal (most useful for CI builds)" OFF)
cmake_dependent_option(DEPLOY "Add required libs to bundle resources and create a dmg" OFF "APPLE" OFF)
# List of authenticators and the cmake flags to build them
URL "https://www.boost.org/"
DESCRIPTION "Boost libraries for C++"
)
+# Older versions don't define the imported target
+if (NOT TARGET Boost::boost)
+ add_library(Boost::boost INTERFACE IMPORTED GLOBAL)
+ if (Boost_INCLUDE_DIRS)
+ set_target_properties(Boost::boost PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${Boost_INCLUDE_DIRS}")
+ endif()
+endif()
find_package(ZLIB REQUIRED)
set_package_properties(ZLIB PROPERTIES TYPE REQUIRED
)
endif()
+# Shared library support
+#####################################################################
+
+option(ENABLE_SHARED "Build modules as shared libraries" ON)
+add_feature_info(ENABLE_SHARED ENABLE_SHARED "Build modules as shared libraries")
+
# Setup unit testing
#####################################################################