Skip to content
Permalink
Browse files

Prevent building of qgis_process when WITH_ANALYSIS=FALSE

  • Loading branch information
tpalan authored and nyalldawson committed May 9, 2020
1 parent 3143da2 commit c41a15142ff88336cda62de1e1d1c57efc277c5e
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -204,6 +204,10 @@ IF(WITH_CORE)
MESSAGE(FATAL_ERROR "Desktop cannot be built without analysis")
ENDIF()

IF ( WITH_QGIS_PROCESS AND NOT WITH_ANALYSIS )
MESSAGE(FATAL_ERROR "Process tool cannot be built without analysis")
ENDIF()

IF ( WITH_DESKTOP )
# The qgis_desktop target is meant to build a minimal but complete running QGIS during development
# This should help to reduce compile time while still having a "complete enough" QGIS for most of the development

0 comments on commit c41a151

Please sign in to comment.
You can’t perform that action at this time.