]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/dynamic_bitset/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / dynamic_bitset / CMakeLists.txt
index 86d4a667bc6f5c0f5e9f4e7ee81108bf42424ce2..8de0ed45f76d30ea31326c3053354f04caee30d0 100644 (file)
@@ -1,12 +1,11 @@
-# Copyright 2019 Sam Day
+# Generated by `boostdep --cmake dynamic_bitset`
+# Copyright 2020 Peter Dimov
 # Distributed under the Boost Software License, Version 1.0.
-# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
-#
-# NOTE: CMake support for Boost.dynamic_bitset is currently experimental at best
-#       and the interface is likely to change in the future
+# https://www.boost.org/LICENSE_1_0.txt
 
-cmake_minimum_required(VERSION 3.5)
-project(BoostDynamicBitset LANGUAGES CXX)
+cmake_minimum_required(VERSION 3.5...3.16)
+
+project(boost_dynamic_bitset VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
 
 add_library(boost_dynamic_bitset INTERFACE)
 add_library(Boost::dynamic_bitset ALIAS boost_dynamic_bitset)
@@ -14,12 +13,20 @@ add_library(Boost::dynamic_bitset ALIAS boost_dynamic_bitset)
 target_include_directories(boost_dynamic_bitset INTERFACE include)
 
 target_link_libraries(boost_dynamic_bitset
-        INTERFACE
-        Boost::assert
-        Boost::config
-        Boost::core
-        Boost::integer
-        Boost::move
-        Boost::static_assert
-        Boost::throw_exception
-        )
+  INTERFACE
+    Boost::assert
+    Boost::config
+    Boost::container_hash
+    Boost::core
+    Boost::integer
+    Boost::move
+    Boost::static_assert
+    Boost::throw_exception
+)
+
+if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
+
+  add_subdirectory(test)
+
+endif()
+