[cmake-developers] Using cmake pkg-config-like in non-cmake builds

Alexander Neundorf neundorf at kde.org
Mon Nov 22 16:15:29 EST 2010


On Monday 22 November 2010, Clinton Stimpson wrote:
> On Monday, November 22, 2010 01:55:22 pm Alexander Neundorf wrote:
...
> > Do you think it is worth to put some effort into this ?
>
> How does this work when find_package() doesn't automatically find the
> package? The caller provides a CMAKE_MODULE_PATH or something?

CMAKE_PREFIX_PATH should just work the same way as it does normally.

Alex



More information about the cmake-developers mailing list