[CMake] project not found despite being found

Nils Gladitz nilsgladitz at gmail.com
Tue Sep 16 12:08:42 EDT 2014


On 16.09.2014 17:38, Biddiscombe, John A. wrote:
> "
>    Found package configuration file:
>
>      /Users/biddisco/build/cmakesuper/xxx/xxx-config.cmake
>
>    but it set xxx_FOUND to FALSE so package “xxx" is
>    considered to be NOT FOUND.
>>
> Which is not expected. If I set xxx_FOUND in the config, it goes away, but I was under the impression that the cmake find_package command itself should set the xxx_FOUND internally and not be done by the user.
>
> Is the find_package command trying to tell me something by showing this message?

It think the message indicates that the config file was setting 
xxx_FOUND explicitly to FALSE itself.

Nils


More information about the CMake mailing list