[CMake] project not found despite being found
Biddiscombe, John A.
biddisco at cscs.ch
Sun Sep 21 17:25:53 EDT 2014
Nils
I wasn’t setting xxx_FOUND at all - and I never resolved this problem, but
it went away on its own after I made some changes to various config files
etc.
Thanks anyway.
JB
On 16/09/14 18:08, "Nils Gladitz" <nilsgladitz at gmail.com> wrote:
>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