CMake related patches.

Tomaz Canabrava tcanabrava at kde.org
Tue Apr 7 14:59:02 PDT 2015


Sorry - Send without explaining everything:

If you are lazy, just run the subsurface build script, things should just
work.
if you are not lazy, you need to pass :

LIBDIVECOMPUTER_INLCUDE_DIRS=/path/to/libdivecomputer/include
LIBDIVECOMPUTER_LIBRARIES=/path/to/libdc
MARBLE_INCLUDE_DIRS
MARBLE_LIBRARIES
LIBGIT2_INCLUDE_DIRS
LIBGIT2_LIBRARIES

An easy way to locate them after first failed attempt to configure ( if you
are trying by hand ) is to use cmake-gui or ccmake

Tomaz


On Tue, Apr 7, 2015 at 6:55 PM, Tomaz Canabrava <tcanabrava at kde.org> wrote:

> Main Changes:
>
> use Find{Marble, LIbdivecomputer, libgit}.cmake files, if a new library is
> added in the future, just copy one of those and adapt.
>
> defaults to looking for the library in the install/ directory created by
> the build script
>
> adapted the build script to use cmake
>
> if a library is not found, it will stop the configuration and you can
> specify the library manually
>
>
> this will simplify the life of a few a bit:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150407/2274409c/attachment.html>


More information about the subsurface mailing list