summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-02-15 12:41:57 -0800
committerMartin Braun <martin.braun@ettus.com>2017-03-26 18:18:52 -0700
commitbcf47d4936f6f24175731f5e4c28a42f3d5de701 (patch)
tree5d479daedb94ad4c10c25b98c17e89305f4bd1cf /cmake
parent0d5fd62c70f5f633b124732a17ed90b061f94941 (diff)
cmake/docs: Move min versions into a single spot, put them all into vars
- Autogen docs appropriately - Make it easier to maintain min versions
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GrBoost.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/Modules/GrBoost.cmake b/cmake/Modules/GrBoost.cmake
index 39a78c5b86..150009a7b9 100644
--- a/cmake/Modules/GrBoost.cmake
+++ b/cmake/Modules/GrBoost.cmake
@@ -68,15 +68,13 @@ if(MSVC)
endif(BOOST_ALL_DYN_LINK)
endif(MSVC)
-find_package(Boost "1.35" COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
+find_package(Boost ${GR_BOOST_MIN_VERSION} COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
# This does not allow us to disable specific versions. It is used
# internally by cmake to know the formation newer versions. As newer
# Boost version beyond what is shown here are produced, we must extend
# this list. To disable Boost versions, see below.
set(Boost_ADDITIONAL_VERSIONS
- "1.35.0" "1.35" "1.36.0" "1.36" "1.37.0" "1.37" "1.38.0" "1.38" "1.39.0" "1.39"
- "1.40.0" "1.40" "1.41.0" "1.41" "1.42.0" "1.42" "1.43.0" "1.43" "1.44.0" "1.44"
"1.45.0" "1.45" "1.46.0" "1.46" "1.47.0" "1.47" "1.48.0" "1.48" "1.49.0" "1.49"
"1.50.0" "1.50" "1.51.0" "1.51" "1.52.0" "1.52" "1.53.0" "1.53" "1.54.0" "1.54"
"1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59"