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 -- 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