CMakeLists.txt 958 B

123456789101112131415161718192021222324252627282930313233
  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.Variant 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( BoostVariant LANGUAGES CXX )
  9. add_library( boost_variant INTERFACE )
  10. add_library( Boost::variant ALIAS boost_variant )
  11. target_include_directories( boost_variant INTERFACE include )
  12. target_link_libraries( boost_variant
  13. INTERFACE
  14. Boost::assert
  15. Boost::bind
  16. Boost::config
  17. Boost::container_hash
  18. Boost::core
  19. Boost::detail
  20. Boost::integer
  21. Boost::move
  22. Boost::mpl
  23. Boost::preprocessor
  24. Boost::static_assert
  25. Boost::throw_exception
  26. Boost::type_index
  27. Boost::type_traits
  28. Boost::utility
  29. )