[cmake-developers] find_package config mode search path rule #5 error prone

Brad King brad.king at kitware.com
Tue May 12 08:54:39 EDT 2015


On 05/07/2015 08:40 AM, Ruslan Baratov via cmake-developers wrote:
> On 07-May-15 00:00, Tamás Kenéz wrote:
>> There are great and proper ways to use the products of a project in a
>> dependent project. Opening the project in cmake-gui to expose the
>> byproduct of a config-module configuration+installation process in the
>> binary dir, is not of them.
>>
> Totally agree, since I am a reporter of this bug: 
> http://public.kitware.com/Bug/view.php?id=14781
> As far as I know it works only for GUI version and only on Windows. So 
> does anybody really use such workflow regularly?

This behavior has been there since find_package was first written,
but since then we gained much better capabilities and alternatives:

 find_package: Drop search in recent cmake-gui locations
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1506f9ca

-Brad



More information about the cmake-developers mailing list