Skip to content

Commit aec18d3

Browse files
committed
Update CMakeLists.txt
1 parent 54a28e4 commit aec18d3

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Generated by `boostdep --cmake thread`
2-
# Copyright 2020 Peter Dimov
2+
# Copyright 2020, 2021 Peter Dimov
33
# Distributed under the Boost Software License, Version 1.0.
44
# https://www.boost.org/LICENSE_1_0.txt
55

6-
cmake_minimum_required(VERSION 3.5...3.16)
6+
cmake_minimum_required(VERSION 3.8...3.20)
77

88
project(boost_thread VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
99

@@ -63,9 +63,7 @@ target_link_libraries(boost_thread
6363
Boost::date_time
6464
Boost::exception
6565
Boost::function
66-
Boost::intrusive
6766
Boost::io
68-
Boost::iterator
6967
Boost::move
7068
Boost::optional
7169
Boost::predef
@@ -80,12 +78,10 @@ target_link_libraries(boost_thread
8078
Boost::winapi
8179

8280
Threads::Threads
83-
84-
PRIVATE
85-
Boost::algorithm
86-
Boost::lexical_cast
8781
)
8882

83+
target_compile_features(boost_thread PUBLIC cxx_std_11)
84+
8985
target_compile_definitions(boost_thread
9086
PUBLIC BOOST_THREAD_NO_LIB
9187
PRIVATE BOOST_THREAD_SOURCE
@@ -102,4 +98,3 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
10298
add_subdirectory(test)
10399

104100
endif()
105-

0 commit comments

Comments
 (0)