CMakeLists.txt 695 B

123456789101112131415161718192021222324
  1. # Copyright 2018 Mike Dev
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
  4. # NOTE: CMake support for Boost.Array is currently experimental at best
  5. # and the interface is likely to change in the future
  6. cmake_minimum_required(VERSION 3.5)
  7. project(boost-array LANGUAGES CXX)
  8. add_library(boost_array INTERFACE)
  9. add_library(Boost::array ALIAS boost_array)
  10. target_include_directories(boost_array INTERFACE include)
  11. target_link_libraries(boost_array
  12. INTERFACE
  13. Boost::assert
  14. Boost::config
  15. Boost::core
  16. Boost::static_assert
  17. Boost::throw_exception
  18. )