forked from Mirrors/openclonk
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
parent
ee62586013
commit
4060991124
|
@ -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})
|
||||
|
||||
|
|
Loading…
Reference in New Issue