From 300dea93b2d6cb3a67b55199e1f1c63549dead6f Mon Sep 17 00:00:00 2001 From: Richard Hodges Date: Wed, 3 Mar 2021 18:25:56 +0100 Subject: [PATCH] Correct CML to find Boost::thread --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 171dd64a..6c41ea53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,8 +146,8 @@ if (MSVC) else() set(BOOST_INCLUDEDIR ${BOOST_ROOT}) set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib) - find_package(Boost COMPONENTS coroutine filesystem system REQUIRED) - link_libraries(Boost::coroutine Boost::filesystem Boost::system) + find_package(Boost COMPONENTS coroutine filesystem system thread REQUIRED) + link_libraries(Boost::coroutine Boost::filesystem Boost::system Boost::thread) endif() link_directories(${BOOST_ROOT}/stage/lib)