@@ -40,16 +40,16 @@ ENDIF (WITH_GRASS)
4040
4141SET (WITH_DESKTOP TRUE CACHE BOOL "Determines whether QGIS desktop should be built" )
4242
43- # mapserver by us disabled default because it needs FastCGI (which is optional dependency)
44- SET (WITH_MAPSERVER FALSE CACHE BOOL "Determines whether QGIS mapserver should be built" )
45- IF (WITH_MAPSERVER )
46- SET (MAPSERVER_SKIP_ECW FALSE CACHE BOOL "Determines whether QGIS mapserver should disable ECW (ECW in server apps requires a special license)" )
43+ # server disabled default because it needs FastCGI (which is optional dependency)
44+ SET (WITH_SERVER FALSE CACHE BOOL "Determines whether QGIS server should be built" )
45+ IF (WITH_SERVER )
46+ SET (SERVER_SKIP_ECW FALSE CACHE BOOL "Determines whether QGIS server should disable ECW (ECW in server apps requires a special license)" )
4747
48- SET (WITH_SERVER_PLUGINS TRUE CACHE BOOL "Determines whether QGIS mapserver support for python plugins should be built" )
48+ SET (WITH_SERVER_PLUGINS TRUE CACHE BOOL "Determines whether QGIS server support for python plugins should be built" )
4949 IF (WITH_SERVER_PLUGINS)
50- SET (MAPSERVER_HAVE_PYTHON_PLUGINS TRUE )
50+ SET (HAVE_SERVER_PYTHON_PLUGINS TRUE )
5151 ENDIF (WITH_SERVER_PLUGINS)
52- ENDIF (WITH_MAPSERVER )
52+ ENDIF (WITH_SERVER )
5353
5454# Custom widgets
5555SET (WITH_CUSTOM_WIDGETS FALSE CACHE BOOL "Determines whether QGIS custom widgets for Qt Designer should be built" )
@@ -540,6 +540,7 @@ ADD_DEFINITIONS("-DPYTHON_EXPORT=${DLLIMPORT}")
540540ADD_DEFINITIONS ("-DANALYSIS_EXPORT=${DLLIMPORT} " )
541541ADD_DEFINITIONS ("-DAPP_EXPORT=${DLLIMPORT} " )
542542ADD_DEFINITIONS ("-DCUSTOMWIDGETS_EXPORT=${DLLIMPORT} " )
543+ ADD_DEFINITIONS ("-DSERVER_EXPORT=${DLLIMPORT} " )
543544
544545#############################################################
545546# user-changeable settings which can be used to customize
0 commit comments