vcpkg/ports/libmysql/ignore-boost-version.patch

14 lines
440 B
Diff
Raw Normal View History

2018-03-13 23:14:58 +08:00
diff --git a/cmake/boost.cmake b/cmake/boost.cmake
index 592a67f..202a770 100644
2018-03-13 23:14:58 +08:00
--- a/cmake/boost.cmake
+++ b/cmake/boost.cmake
@@ -297,7 +297,7 @@ IF(NOT BOOST_MAJOR_VERSION EQUAL 10)
2018-03-13 23:14:58 +08:00
COULD_NOT_FIND_BOOST()
ENDIF()
-IF(NOT BOOST_MINOR_VERSION EQUAL 70)
+IF(NOT BOOST_MINOR_VERSION EQUAL 70 AND NOT IGNORE_BOOST_VERSION)
2018-03-13 23:14:58 +08:00
MESSAGE(WARNING "Boost minor version found is ${BOOST_MINOR_VERSION} "
"we need 70"
2018-03-13 23:14:58 +08:00
)