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.Variant is currently experimental at best 6# and the interface is likely to change in the future 7 8cmake_minimum_required( VERSION 3.5 ) 9project( BoostVariant LANGUAGES CXX ) 10 11add_library( boost_variant INTERFACE ) 12add_library( Boost::variant ALIAS boost_variant ) 13 14target_include_directories( boost_variant INTERFACE include ) 15 16target_link_libraries( boost_variant 17 INTERFACE 18 Boost::assert 19 Boost::bind 20 Boost::config 21 Boost::container_hash 22 Boost::core 23 Boost::detail 24 Boost::integer 25 Boost::move 26 Boost::mpl 27 Boost::preprocessor 28 Boost::static_assert 29 Boost::throw_exception 30 Boost::type_index 31 Boost::type_traits 32 Boost::utility 33) 34