mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
allow to build without analysis
This commit is contained in:
parent
dcba25501f
commit
efd1fd6d59
@ -112,6 +112,8 @@ IF(WITH_CORE)
|
||||
|
||||
SET (WITH_GUI TRUE CACHE BOOL "Determines whether QGIS GUI library (and everything built on top of it) should be built")
|
||||
|
||||
SET (WITH_ANALYSIS TRUE CACHE BOOL "Determines whether QGIS analysis library")
|
||||
|
||||
SET (WITH_DESKTOP TRUE CACHE BOOL "Determines whether QGIS desktop should be built")
|
||||
|
||||
SET (WITH_3D FALSE CACHE BOOL "Determines whether QGIS 3D library should be built")
|
||||
@ -145,6 +147,10 @@ IF(WITH_CORE)
|
||||
SET (HAVE_GUI TRUE) # used in qgsconfig.h
|
||||
ENDIF()
|
||||
|
||||
IF ( WITH_DESKTOP AND NOT WITH_ANALYSIS )
|
||||
MESSAGE(FATAL_ERROR "Desktop cannot be built without analysis")
|
||||
ENDIF()
|
||||
|
||||
# try to configure and build MDAL support
|
||||
SET (WITH_INTERNAL_MDAL TRUE CACHE BOOL "Determines whether MDAL support should be built")
|
||||
IF (NOT WITH_INTERNAL_MDAL)
|
||||
|
@ -1,9 +1,9 @@
|
||||
ADD_SUBDIRECTORY(native)
|
||||
ADD_SUBDIRECTORY(core)
|
||||
|
||||
IF (NOT IOS)
|
||||
IF (WITH_ANALYSIS)
|
||||
ADD_SUBDIRECTORY(analysis)
|
||||
ENDIF (NOT IOS)
|
||||
ENDIF (WITH_ANALYSIS)
|
||||
|
||||
IF (WITH_GUI)
|
||||
ADD_SUBDIRECTORY(ui)
|
||||
|
Loading…
x
Reference in New Issue
Block a user