Skip to content

Commit 2408f24

Browse files
committed
cmake: add support for most recent Boost version
Any decent CMake installation is not capable of finding Boost 1.57.0 as it is not configured to do so. This fixes this issue.
1 parent 2de0367 commit 2408f24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

3rdparty/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ message(STATUS "----------------------------------------------------------------
77
message(STATUS "Boost")
88

99
set(Boost_USE_MULTITHREADED ON)
10+
set(Boost_ADDITIONAL_VERSIONS "1.57" "1.57.0" ${Boost_ADDITIONAL_VERSIONS})
1011

1112
if(${compiler_version_available} AND ${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
1213
set(Boost_COMPILER "-clang${CMAKE_CXX_COMPILER_VERSION_MAJOR}${CMAKE_CXX_COMPILER_VERSION_MINOR}")

0 commit comments

Comments
 (0)