Skip to content

Commit c41a151

Browse files
tpalannyalldawson
authored andcommittedMay 10, 2020
Prevent building of qgis_process when WITH_ANALYSIS=FALSE
1 parent 3143da2 commit c41a151

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ IF(WITH_CORE)
204204
MESSAGE(FATAL_ERROR "Desktop cannot be built without analysis")
205205
ENDIF()
206206

207+
IF ( WITH_QGIS_PROCESS AND NOT WITH_ANALYSIS )
208+
MESSAGE(FATAL_ERROR "Process tool cannot be built without analysis")
209+
ENDIF()
210+
207211
IF ( WITH_DESKTOP )
208212
# The qgis_desktop target is meant to build a minimal but complete running QGIS during development
209213
# This should help to reduce compile time while still having a "complete enough" QGIS for most of the development

0 commit comments

Comments
 (0)
Please sign in to comment.