Skip to content

Commit 36b73da

Browse files
author
Peter Thorson
committed
[cmake] Remove quotes that was making it hard for cmake to find newer boost versions. fixes #855
1 parent 59f1b43 commit 36b73da

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
215215
set (Boost_USE_MULTITHREADED TRUE)
216216
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!
217217

218-
find_package (Boost 1.39.0 COMPONENTS "${WEBSOCKETPP_BOOST_LIBS}")
218+
find_package (Boost 1.39.0 COMPONENTS ${WEBSOCKETPP_BOOST_LIBS})
219219

220220
if (Boost_FOUND)
221221
# Boost is a project wide global dependency.

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ HEAD
1212
- CMake: Fix typo in CMakeLists.txt that caused CXX_FLAGS to be improperly
1313
quoted. Removed unnecessary hardcoded dependency on libc++ for clang.
1414
Thank you kraj for reporting and a patch. #859
15+
- CMake: Fix issue in CMakeLists.txt that caused boost dependencies to be
16+
seen as a single library rather than multiple. Thank you Gianfranco
17+
Costamagna for reporting and a patch. #855
1518

1619
0.8.2 - 2020-04-19
1720
- Examples: Update print_client_tls example to remove use of deprecated

0 commit comments

Comments
 (0)