27 lines
726 B
CMake
27 lines
726 B
CMake
|
# Copyright 2019 Mike Dev
|
||
|
# Distributed under the Boost Software License, Version 1.0.
|
||
|
# See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
|
||
|
#
|
||
|
# NOTE: CMake support for Boost.Mpl is currently experimental at best
|
||
|
# and the interface is likely to change in the future
|
||
|
|
||
|
|
||
|
cmake_minimum_required( VERSION 3.5 )
|
||
|
project( BoostAny LANGUAGES CXX )
|
||
|
|
||
|
add_library( boost_any INTERFACE )
|
||
|
add_library( Boost::any ALIAS boost_any )
|
||
|
|
||
|
target_include_directories( boost_any INTERFACE include )
|
||
|
|
||
|
target_link_libraries( boost_any
|
||
|
INTERFACE
|
||
|
Boost::config
|
||
|
Boost::core
|
||
|
Boost::static_assert
|
||
|
Boost::throw_exception
|
||
|
Boost::type_index
|
||
|
Boost::type_traits
|
||
|
)
|
||
|
|