1# Copyright 2019 Sam Day 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# 5# NOTE: CMake support for Boost.lexical_cast is currently experimental at best 6# and the interface is likely to change in the future 7 8cmake_minimum_required(VERSION 3.5) 9project(BoostLexicalCast LANGUAGES CXX) 10 11add_library(boost_lexical_cast INTERFACE) 12add_library(Boost::lexical_cast ALIAS boost_lexical_cast) 13 14target_include_directories(boost_lexical_cast INTERFACE include) 15 16target_link_libraries(boost_lexical_cast 17 INTERFACE 18 Boost::array 19 Boost::assert 20 Boost::config 21 Boost::container 22 Boost::core 23 Boost::detail 24 Boost::integer 25 Boost::math 26 Boost::numeric_conversion 27 Boost::range 28 Boost::static_assert 29 Boost::throw_exception 30 Boost::type_traits 31 ) 32