diff --git a/CMakeLists.txt b/CMakeLists.txt index e0b1524ad7a1..37555e28ed7e 100644 --- a/CMakeLists.txt +++ b/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