CMakeLists.txt 726 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.Mpl 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( BoostAny LANGUAGES CXX )
  9. add_library( boost_any INTERFACE )
  10. add_library( Boost::any ALIAS boost_any )
  11. target_include_directories( boost_any INTERFACE include )
  12. target_link_libraries( boost_any
  13. INTERFACE
  14. Boost::config
  15. Boost::core
  16. Boost::static_assert
  17. Boost::throw_exception
  18. Boost::type_index
  19. Boost::type_traits
  20. )