mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
14 lines
440 B
Diff
14 lines
440 B
Diff
diff --git a/cmake/boost.cmake b/cmake/boost.cmake
|
|
index 2851181..8788322 100644
|
|
--- a/cmake/boost.cmake
|
|
+++ b/cmake/boost.cmake
|
|
@@ -280,7 +280,7 @@ IF(NOT BOOST_MAJOR_VERSION EQUAL 10)
|
|
COULD_NOT_FIND_BOOST()
|
|
ENDIF()
|
|
|
|
-IF(NOT BOOST_MINOR_VERSION EQUAL 65)
|
|
+IF(NOT BOOST_MINOR_VERSION EQUAL 65 AND NOT IGNORE_BOOST_VERSION)
|
|
MESSAGE(WARNING "Boost minor version found is ${BOOST_MINOR_VERSION} "
|
|
"we need 65"
|
|
)
|