blob: 99cee245012ab5493a5c4b6229846f831a0df0b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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"
)
|