vcpkg/ports/libmysql/ignore-boost-version.patch
NancyLi1013 184c724033
[libmysql] Update to 8.0.20 (#11303)
* [libmysql] Update to 8.0.20

* Fix the redefinition'MYSQL_BIND' between libmysql and libodb-mysql
2020-05-15 16:37:54 -07:00

14 lines
440 B
Diff

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