Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 15, 2023
1 parent 54a28e4 commit aec18d3
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Generated by `boostdep --cmake thread`
# 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_thread VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

Expand Down Expand Up @@ -63,9 +63,7 @@ target_link_libraries(boost_thread
Boost::date_time
Boost::exception
Boost::function
Boost::intrusive
Boost::io
Boost::iterator
Boost::move
Boost::optional
Boost::predef
Expand All @@ -80,12 +78,10 @@ target_link_libraries(boost_thread
Boost::winapi

Threads::Threads

PRIVATE
Boost::algorithm
Boost::lexical_cast
)

target_compile_features(boost_thread PUBLIC cxx_std_11)

target_compile_definitions(boost_thread
PUBLIC BOOST_THREAD_NO_LIB
PRIVATE BOOST_THREAD_SOURCE
Expand All @@ -102,4 +98,3 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)

endif()

0 comments on commit aec18d3

Please sign in to comment.