Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Generated by `boostdep --cmake asio`
# Copyright 2020 Peter Dimov
# 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.16)
cmake_minimum_required(VERSION 3.8...3.20)

project(boost_asio VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

Expand All @@ -15,26 +15,21 @@ target_include_directories(boost_asio INTERFACE include)
target_link_libraries(boost_asio
INTERFACE
Boost::align
Boost::array
Boost::assert
Boost::bind
Boost::chrono
Boost::config
Boost::core
Boost::context
Boost::coroutine
Boost::date_time
Boost::function
Boost::regex
Boost::smart_ptr
Boost::system
Boost::throw_exception
Boost::type_traits
Boost::utility
)

target_compile_features(boost_asio INTERFACE cxx_std_11)

if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")

add_subdirectory(test)

endif()

2 changes: 1 addition & 1 deletion meta/libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"maintainers": [
"Chris Kohlhoff <chris -at- kohlhoff.com>"
],
"cxxstd": "03"
"cxxstd": "11"
}