CMake: Add support for Boost 1.57.0

For some reason, even the most recent (as of this writing) CMake 3.1.0
doesn't know about Boost 1.57.0, which was released two months before
CMake. Add it to the known version list.
issue1247
Nicolas Hake 2015-01-18 15:28:59 +01:00
parent ee62586013
commit 4060991124
1 changed files with 4 additions and 0 deletions

View File

@ -810,6 +810,10 @@ include(FindPNG)
include(FindZLIB)
include_directories(${JPEG_INCLUDE_DIR} ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
set(Boost_ADDITIONAL_VERSIONS
# FindBoost.cmake goes up to 1.56.0
"1.57.0" "1.57"
)
find_package("Boost" 1.40.0 REQUIRED)
include_directories(SYSTEM ${Boost_INCLUDE_DIR})