• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 Mike Dev
2# Copyright 2019 Peter Dimov
3# Distributed under the Boost Software License, Version 1.0.
4# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
5
6# We support CMake 3.5, but prefer 3.16 policies and behavior
7cmake_minimum_required(VERSION 3.5...3.16)
8
9project(boost_regex VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
10
11add_library(boost_regex INTERFACE)
12add_library(Boost::regex ALIAS boost_regex)
13
14target_include_directories(boost_regex INTERFACE include)
15
16target_link_libraries(boost_regex
17  INTERFACE
18    Boost::config
19    Boost::throw_exception
20    Boost::predef
21    Boost::assert
22)
23
24