Fix compilation with upstream Marble
<marble/MarbleDebug.h> is not availaible in all Marble versions. As Marble::MarbleDebug::setEnabled(verbose) is only used when MARBLE_SUBSURFACE_BRANCH is defined, also include header file only when MARBLE_SUBSURFACE_BRANCH is set. Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d67cce2af8
commit
1910d6d546
@ -18,7 +18,9 @@
|
||||
#include <marble/MarbleDirs.h>
|
||||
#include <marble/MapThemeManager.h>
|
||||
#include <marble/GeoDataLineString.h>
|
||||
#ifdef MARBLE_SUBSURFACE_BRANCH
|
||||
#include <marble/MarbleDebug.h>
|
||||
#endif
|
||||
#if INCOMPLETE_MARBLE
|
||||
#include "marble/GeoDataTreeModel.h"
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user