• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.Optional is currently experimental at best
6#       and the interface is likely to change in the future
7
8cmake_minimum_required( VERSION 3.5 )
9project( BoostOptional )
10
11add_library( boost_optional INTERFACE )
12add_library( Boost::optional ALIAS boost_optional )
13
14target_include_directories( boost_optional INTERFACE include )
15
16target_link_libraries( boost_optional
17    INTERFACE
18        Boost::assert
19        Boost::config
20        Boost::core
21        Boost::detail
22        Boost::move
23        Boost::predef
24        Boost::static_assert
25        Boost::throw_exception
26        Boost::type_traits
27        Boost::utility
28)
29