[Marble-devel] Review Request: Fix automagic dependencies in Marble

Michael Palimaka kensington at gentoo.org
Mon Jul 16 20:31:42 UTC 2012



> On July 16, 2012, 8:27 p.m., Dennis Nienhüser wrote:
> > The patch does not work when the QTONLY=TRUE option is enabled (i.e. Marble is built without KDE), because the macro_optional_find_package is a KDE cmake macro. We'd need to copy it to our cmake macros or provide a similar macro for the patch to work in all cases.
> > 
> > $ grep QTONLY CMakeCache.txt
> > QTONLY:BOOL=TRUE
> > $ cmake ../src
> > CMake Error at src/plugins/positionprovider/CMakeLists.txt:3 (macro_optional_find_package):
> >   Unknown CMake command "macro_optional_find_package".
> > -- Configuring incomplete, errors occurred!
> >

Good point. Any objection to copying the macro then?

If adding another macro is not desired, another option could be to do the work of the macro manually.


- Michael


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105598/#review15984
-----------------------------------------------------------


On July 16, 2012, 7:49 p.m., Michael Palimaka wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105598/
> -----------------------------------------------------------
> 
> (Updated July 16, 2012, 7:49 p.m.)
> 
> 
> Review request for Marble.
> 
> 
> Description
> -------
> 
> The dependencies required to build Marble plugins are currently automagic - there is no way for the end user to disable them if the dependency is present.
> 
> This patch simply fixes that, adding new configure options -DWITH_{libgps,liblocation,QtLocation}.
> 
> 
> Diffs
> -----
> 
>   src/plugins/positionprovider/CMakeLists.txt 43e3b1373728553b634cf1c0ce7c078adcb8aad0 
> 
> Diff: http://git.reviewboard.kde.org/r/105598/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Michael Palimaka
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120716/f5dd9a7c/attachment-0001.html>


More information about the Marble-devel mailing list