ADD_DEFINITIONS and kdevelop
Esben Mose Hansen
kde at mosehansen.dk
Fri May 14 16:51:12 BST 2010
On Sunday 09 May 2010 22:44:57 Esben Mose Hansen wrote:
> Hm. Apparently, the config-section only gets called if NO_MODULE is
> specifically added to the find_module() command. Even then, it doesn't pick
> up the CMAKE_INSTALL_PREFIX, nor KDevPlatform_DIR, so it appears to be
> unable to find the KDevPlatformConfig.cmake file. Or at least, it appeared
> to me like that, but it is getting too late for me I think. I will try
> next time the family permits.
Actually, loading the cache was partially broken. This was the main cause of
problems, though you still need to add the NO_MODLE to get support for the
config files.
I have created merge request
http://gitorious.org/kdevelop/kdevelop/merge_requests/8
that should fix the cache problem. The _DIR variable is still not set, though,
and the having to add NO_MODULE is not ideal. Baby permitting, I will try to
fix those later.But at least it will work now provided the test is for a
cached variable.
--
Kind regards, Esben
More information about the KDevelop
mailing list