2018-03-13 23:14:58 +08:00
|
|
|
diff --git a/cmake/boost.cmake b/cmake/boost.cmake
|
2020-05-16 07:37:54 +08:00
|
|
|
index 592a67f..202a770 100644
|
2018-03-13 23:14:58 +08:00
|
|
|
--- a/cmake/boost.cmake
|
|
|
|
+++ b/cmake/boost.cmake
|
2020-05-16 07:37:54 +08:00
|
|
|
@@ -297,7 +297,7 @@ IF(NOT BOOST_MAJOR_VERSION EQUAL 10)
|
2018-03-13 23:14:58 +08:00
|
|
|
COULD_NOT_FIND_BOOST()
|
|
|
|
ENDIF()
|
|
|
|
|
2020-05-16 07:37:54 +08:00
|
|
|
-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} "
|
2020-05-16 07:37:54 +08:00
|
|
|
"we need 70"
|
2018-03-13 23:14:58 +08:00
|
|
|
)
|