diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-06-03 15:22:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-07 08:52:13 +0100 |
commit | 04f367e27e66105466611bee4d63abc78e0a4725 (patch) | |
tree | 55902bd3c21e970ef51a1d0e5ad370079beaa211 /meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch | |
parent | 2ff3d3296deacb9af4d9ad0b92cd7ba5f94b7182 (diff) | |
download | openembedded-core-contrib-04f367e27e66105466611bee4d63abc78e0a4725.tar.gz |
cmake: fix build issue with boost 1.67.0
this fixes a build issue with boost 1.67.0
[Yocto 12762]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch b/meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch new file mode 100644 index 0000000000..bec04c4c14 --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake/0004-FindBoost-Generate-imported-targets-for-future-Boost.patch @@ -0,0 +1,35 @@ +From 6297d6c7fd6f80dafe17c0aefeeb0439432aa4b0 Mon Sep 17 00:00:00 2001 +From: "Paul \"TBBle\" Hampson" <Paul.Hampson@Pobox.com> +Date: Sat, 30 Dec 2017 16:00:29 +1100 +Subject: [PATCH 4/6] 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. + +Affects cmake < 3.11.0 + +Upsteam-Status: Backport +[Yocto 12762] +Signed-off-by: Armin Kuster <akuster808@gmail.com> + +--- + Modules/FindBoost.cmake | 1 - + 1 file changed, 1 deletion(-) + +Index: cmake-3.10.3/Modules/FindBoost.cmake +=================================================================== +--- cmake-3.10.3.orig/Modules/FindBoost.cmake ++++ cmake-3.10.3/Modules/FindBoost.cmake +@@ -799,7 +799,6 @@ function(_Boost_COMPONENT_DEPENDENCIES c + 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() + |