Skip to content

Commit

Permalink
Sync from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 20, 2024
2 parents 14d7f62 + 028247d commit 0d1a2b3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,8 @@ target_include_directories(boost_log

target_link_libraries(boost_log
PUBLIC
Boost::array
Boost::assert
Boost::config
Boost::container
Boost::core
Boost::date_time
Boost::filesystem
Expand All @@ -490,13 +488,11 @@ target_link_libraries(boost_log
Boost::proto
Boost::range
Boost::smart_ptr
Boost::static_assert
Boost::system
Boost::throw_exception
Boost::type_index
Boost::type_traits
Boost::utility
Boost::winapi

PRIVATE
Boost::align
Expand All @@ -510,6 +506,13 @@ target_link_libraries(boost_log
${boost_log_regex_backend_private_libs}
)

if (WIN32 OR CYGWIN)
target_link_libraries(boost_log
PUBLIC
Boost::winapi
)
endif()

if (NOT BOOST_LOG_NO_THREADS)
target_link_libraries(boost_log
PUBLIC
Expand Down

0 comments on commit 0d1a2b3

Please sign in to comment.