From 54a3d2ef5a1f7368fdbb393b21c1d2ba09d0cadc Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 8 Nov 2017 09:47:53 +0100 Subject: [PATCH] Fixes compilation issue on Debian Jessie when option USE_STANDALONE_ASIO is turned on --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f697fd4..c0b1acf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ endif() if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") add_executable(http_examples http_examples.cpp) target_link_libraries(http_examples simple-web-server) - find_package(Boost 1.53.0 COMPONENTS system filesystem REQUIRED) + find_package(Boost 1.53.0 COMPONENTS system thread filesystem REQUIRED) target_link_libraries(http_examples ${Boost_LIBRARIES}) target_include_directories(http_examples PRIVATE ${Boost_INCLUDE_DIR}) if(OPENSSL_FOUND)