CMakeLists.txt 803 B

1234567891011121314151617181920212223242526
  1. # Copyright 2019 Mike Dev
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
  4. #
  5. # NOTE: CMake support for Boost.TypeIndex is currently experimental at best
  6. # and the interface is likely to change in the future
  7. cmake_minimum_required(VERSION 3.5)
  8. project(Boost.TypeIndex)
  9. add_library(boost_type_index INTERFACE)
  10. add_library(Boost::type_index ALIAS boost_type_index)
  11. target_include_directories(boost_type_index INTERFACE include)
  12. target_link_libraries(boost_type_index
  13. INTERFACE
  14. Boost::config
  15. Boost::container_hash
  16. Boost::core
  17. Boost::preprocessor
  18. Boost::smart_ptr
  19. Boost::static_assert
  20. Boost::throw_exception
  21. Boost::type_traits
  22. )