summaryrefslogtreecommitdiffstats
path: root/cmake/modules/BuildBoost.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmake/modules/BuildBoost.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake
index d6466b02d43..2b5f87740a6 100644
--- a/cmake/modules/BuildBoost.cmake
+++ b/cmake/modules/BuildBoost.cmake
@@ -137,7 +137,7 @@ macro(build_boost version)
endforeach()
# for header-only libraries
- if(CMAKE_VERSION VERSION_LESS 3.0)
+ if(CMAKE_VERSION VERSION_LESS 3.3)
# only ALIAS and INTERFACE target names allow ":" in it, but
# INTERFACE library is not allowed until cmake 3.1
add_custom_target(Boost.boost DEPENDS Boost)