Skip to content

Commit

Permalink
mapmetadata: disable if compile-time features are missing
Browse files Browse the repository at this point in the history
Fixes build breakage.
  • Loading branch information
MaxKellermann committed Oct 5, 2021
1 parent aad9a04 commit e110cf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapmetadata.c
Expand Up @@ -31,6 +31,8 @@
#include "mapowscommon.h"
#include "maplibxml2.h"

#if defined(USE_WMS_SVR) || defined (USE_WFS_SVR) || defined (USE_WCS_SVR) || defined(USE_SOS_SVR) || defined(USE_WMS_LYR) || defined(USE_WFS_LYR)

#ifdef USE_LIBXML2

static
Expand Down Expand Up @@ -931,3 +933,4 @@ void msMetadataSetGetMetadataURL(layerObj *lp, const char *url)
msFree(pszMetadataURL);
}

#endif

0 comments on commit e110cf4

Please sign in to comment.