[CMake] CMakeFindDependencyMacro and components

Ruslan Baratov ruslan_baratov at yahoo.com
Thu Jul 23 15:03:15 EDT 2015


On 23-Jul-15 18:08, Guillaume Dumont wrote:
> include(CMakeFindDependencyMacro)
>
> find_dependency(Boost COMPONENTS date_time filesystem system)
Note that by default Boost_LIBRARIES is a list of full paths to the 
components, so find_dependency not needed since library will be 
hardcoded into *Targets.cmake

On 23-Jul-15 18:39, Guillaume Dumont wrote:
> ... or a custom CMakeFindDependencyMacro.
I guess you can send a patch in this case


More information about the CMake mailing list