[CMake] CMakeFindDependencyMacro and components

Guillaume Dumont dumont.guillaume at gmail.com
Thu Jul 23 11:08:36 EDT 2015


Hi,

I have a projet that depends on some Boost COMPONENTS I would like to use
the following code the project-config.cmake file generate by CMake using
code like:


include(CMakeFindDependencyMacro)

find_dependency(Boost COMPONENTS date_time filesystem system)

Looking at the CMakeFindDependencyMacro code the COMPONENTS argument does
not seem to be supported.

Is there a workaround for this situation?

-- 
Guillaume Dumont
=========================
dumont.guillaume at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150723/2f64d291/attachment.html>


More information about the CMake mailing list