[cmake-developers] [PATCH] FindBoost: Add imported targets

Florent Castelli florent.castelli at gmail.com
Mon Nov 16 09:26:31 EST 2015


It’s nice and I was thinking of doing the same!

But one there’s one thing that comes to mind. Some compiled libraries have dependencies on other compiled libraries.
Don’t you think it would make sense to teach FindBoost about those so we link everything properly?

And also maybe add the native dependencies for some modules that have one like maybe pthread or openssl.
Though, this might be hard to get right in a cross platform way.

/Florent

> On 16 Nov 2015, at 15:01, rleigh at codelibre.net wrote:
> 
> I have attached a patch to add imported targets to FindBoost, in the form
> of Boost::<component> (e.g. Boost::date_time) or Boost::Boost as a generic
> interface library for header-only components.
> 
> If this type of patch is acceptable, I would like to do this for a number
> of other modules for which I would like to be able to use so I export
> generic configurations for my own libraries, including XercesC, PNG, TIFF
> and a few others.  If that's OK, I'll follow up with patches for these
> modules.
> 
> 
> Regards,
> Roger Leigh<0001-FindBoost-Add-imported-targets.patch>-- 
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers



More information about the cmake-developers mailing list