mirror of
https://github.com/boostorg/signals2.git
synced 2026-01-19 04:42:11 +00:00
40 lines
931 B
CMake
40 lines
931 B
CMake
# Generated by `boostdep --cmake signals2`
|
|
# Copyright 2020, 2021 Peter Dimov
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
cmake_minimum_required(VERSION 3.5...3.20)
|
|
|
|
project(boost_signals2 VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
|
|
|
add_library(boost_signals2 INTERFACE)
|
|
add_library(Boost::signals2 ALIAS boost_signals2)
|
|
|
|
target_include_directories(boost_signals2 INTERFACE include)
|
|
|
|
target_link_libraries(boost_signals2
|
|
INTERFACE
|
|
Boost::assert
|
|
Boost::bind
|
|
Boost::config
|
|
Boost::core
|
|
Boost::function
|
|
Boost::iterator
|
|
Boost::move
|
|
Boost::mpl
|
|
Boost::optional
|
|
Boost::parameter
|
|
Boost::preprocessor
|
|
Boost::smart_ptr
|
|
Boost::throw_exception
|
|
Boost::tuple
|
|
Boost::type_traits
|
|
Boost::variant
|
|
)
|
|
|
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|