CMakeLists.txt 766 B

123456789101112131415161718192021222324
  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.Conversion 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( BoostConversion LANGUAGES CXX )
  9. add_library( boost_conversion INTERFACE )
  10. add_library( Boost::conversion ALIAS boost_conversion )
  11. target_include_directories( boost_conversion INTERFACE include )
  12. target_link_libraries( boost_conversion
  13. INTERFACE
  14. Boost::assert
  15. Boost::config
  16. Boost::smart_ptr
  17. Boost::throw_exception
  18. Boost::type_traits
  19. Boost::typeof
  20. )