CMakeLists.txt 678 B

1234567891011121314151617181920
  1. # Copyright 2018 Mike Dev
  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(BoostThrowException LANGUAGES CXX)
  8. add_library(boost_throw_exception INTERFACE)
  9. add_library(Boost::throw_exception ALIAS boost_throw_exception)
  10. target_include_directories(boost_throw_exception INTERFACE include)
  11. target_link_libraries(boost_throw_exception
  12. INTERFACE
  13. Boost::assert
  14. Boost::config
  15. )