[cmake-developers] Introducing targets in FindPkgConfig

Daniele E. Domenichelli ddomenichelli at drdanz.it
Tue Dec 23 04:47:16 EST 2014


On 22/12/14 19:38, Rolf Eike Beer wrote:
>> About the FindPkgConfig macros documentation, what is that is not clear?
> 
> It's not about the documentation of that module, but where I need to hack it 
> into the module. The code is quite a bit of indirections, I guess I would need 
> to do this _pkg_check_modules_internal at the end of the last foreach?


Yes, I think that you can do it either in _pkg_check_modules_internal
after the line 385 (unset(_pkgconfig_path_old)) right before the else(),
or (perhaps better) in a new internal macro that you will call after the
"_pkgconfig_set" line in pkg_search_module and pkg_check_modules.


Cheers,
 Daniele




More information about the cmake-developers mailing list