CMakeLists.txt 704 B

1234567891011121314151617181920212223
  1. # Copyright 2019 Peter Dimov
  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. # Partial (add_subdirectory only) and experimental CMake support
  5. # Subject to change; please do not rely on the contents of this file yet
  6. cmake_minimum_required(VERSION 3.5)
  7. project(BoostEndian LANGUAGES CXX)
  8. add_library(boost_endian INTERFACE)
  9. add_library(Boost::endian ALIAS boost_endian)
  10. target_include_directories(boost_endian INTERFACE include)
  11. target_link_libraries(boost_endian
  12. INTERFACE
  13. Boost::config
  14. Boost::core
  15. Boost::predef
  16. Boost::static_assert
  17. Boost::type_traits
  18. )