855.patch 999 B

1234567891011121314151617181920212223
  1. From 3590d77bb9753fbbf076028e2395182ced6466ba Mon Sep 17 00:00:00 2001
  2. From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
  3. Date: Wed, 8 Jan 2020 17:59:48 +0100
  4. Subject: [PATCH] Fix cmake find boost with version >= 1.71
  5. For some reasons "system;thread;random;unit_test_framework" was seen as a single module, because of the quotes.
  6. ---
  7. CMakeLists.txt | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/CMakeLists.txt b/CMakeLists.txt
  10. index 2d13117b..9a46bc10 100644
  11. --- a/CMakeLists.txt
  12. +++ b/CMakeLists.txt
  13. @@ -217,7 +217,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
  14. set (Boost_USE_MULTITHREADED TRUE)
  15. 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!
  16. - find_package (Boost 1.39.0 COMPONENTS "${WEBSOCKETPP_BOOST_LIBS}")
  17. + find_package (Boost 1.39.0 COMPONENTS ${WEBSOCKETPP_BOOST_LIBS})
  18. if (Boost_FOUND)
  19. # Boost is a project wide global dependency.