Skip to content

Commit

Permalink
Prevent building of qgis_process when WITH_ANALYSIS=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
tpalan authored and nyalldawson committed May 10, 2020
1 parent 3143da2 commit c41a151
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit c41a151

Please sign in to comment.