| From 3590d77bb9753fbbf076028e2395182ced6466ba Mon Sep 17 00:00:00 2001 |
| From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> |
| Date: Wed, 8 Jan 2020 17:59:48 +0100 |
| Subject: [PATCH] Fix cmake find boost with version >= 1.71 |
| |
| For some reasons "system;thread;random;unit_test_framework" was seen as a single module, because of the quotes. |
| --- |
| CMakeLists.txt | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/CMakeLists.txt b/CMakeLists.txt |
| index 2d13117b..9a46bc10 100644 |
| --- a/CMakeLists.txt |
| +++ b/CMakeLists.txt |
| @@ -217,7 +217,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES) |
| set (Boost_USE_MULTITHREADED TRUE) |
| set (Boost_ADDITIONAL_VERSIONS "1.39.0" "1.40.0" "1.41.0" "1.42.0" "1.43.0" "1.44.0" "1.46.1") # todo: someone who knows better spesify these! |
| |
| - find_package (Boost 1.39.0 COMPONENTS "${WEBSOCKETPP_BOOST_LIBS}") |
| + find_package (Boost 1.39.0 COMPONENTS ${WEBSOCKETPP_BOOST_LIBS}) |
| |
| if (Boost_FOUND) |
| # Boost is a project wide global dependency. |