# Generated by `boostdep --cmake multiprecision`
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

cmake_minimum_required(VERSION 3.5...3.16)

project(boost_multiprecision VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

add_library(boost_multiprecision INTERFACE)
add_library(Boost::multiprecision ALIAS boost_multiprecision)

target_include_directories(boost_multiprecision INTERFACE include)

target_link_libraries(boost_multiprecision
  INTERFACE
    Boost::assert
    Boost::config
    Boost::core
    Boost::integer
    Boost::lexical_cast
    Boost::math
    Boost::predef
    Boost::random
    Boost::rational
)

if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")

  add_subdirectory(test)

endif()

