summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2017-12-30 05:00:29 (GMT)
committerPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2018-01-10 06:17:32 (GMT)
commit6297d6c7fd6f80dafe17c0aefeeb0439432aa4b0 (patch)
tree04fd3a70b9b17500547244d785307a79a6b5d3eb /Modules/FindBoost.cmake
parentd56deff7d127b030739bd0034609d0046121d8cd (diff)
downloadCMake-6297d6c7fd6f80dafe17c0aefeeb0439432aa4b0.zip
CMake-6297d6c7fd6f80dafe17c0aefeeb0439432aa4b0.tar.gz
CMake-6297d6c7fd6f80dafe17c0aefeeb0439432aa4b0.tar.bz2
FindBoost: Generate imported targets for future Boost versions
Per discussion on cmake/cmake#17575, this protection not particularly valuable, as the dependency information which the imported targets wrap is generated anyway. This removes a road-block for using `Boost_ADDITIONAL_VERSIONS` to support newly-released Boost versions pending a new CMake release.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 479c831..ca2a9c5 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -793,7 +793,6 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret)
endif()
if(NOT Boost_VERSION VERSION_LESS 106700)
message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets")
- set(_Boost_IMPORTED_TARGETS FALSE)
endif()
endif()