CMAKE_MODULE_PATH and cmake import

Aleix aleixpol at gmail.com
Wed Nov 7 19:09:23 UTC 2007


On Nov 7, 2007 12:42 PM, Esben Mose Hansen <kde at mosehansen.dk> wrote:

> Hi,
>
> To start with the question: Is setting CMAKE_MODULE_PATH supported by the
> CMake module? If not, where should I start if I want to fix it?
>
> And the background:
>
> I'm trying to get the svn version of kdevelop to work well enough to do my
> daily work with, so that when I get annoyed by something I can fix it :)
>
> My first problem comes when kdevelop attempts to parse the CMake files.
> Apparently, KDevelop doesn't understand this line
>
> set(CMAKE_MODULE_PATH "${calypso_SOURCE_DIR}/cmake_modules/")

It wasn't initializing the variable <projectname>_SOURCE_DIR.

It is fixed now. I'll commit that in a minute

>
>
> and thus doesn't find some modules
>
> kdevelop(8096)/kdevelop (cmake support) CMakeProjectVisitor::visit:
> error!!
> Could not find "FindLibZip" = "FindLibZip.cmake" into
> ("", "/usr/share/cmake-2.4/Modules",
> "/home/esben/calypso/src/spreadsheet")
>
> I tried to set it manually in project options (Cmake, advanced) but this
> just
> crashed kdevelop.

I'll check this issue later this week.


>
> --
> regards, Esben
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

Thanks for reporting it! :)

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20071107/ac11f34e/attachment.html>


More information about the KDevelop-devel mailing list