From c41a15142ff88336cda62de1e1d1c57efc277c5e Mon Sep 17 00:00:00 2001 From: Tom Palan Date: Sat, 9 May 2020 13:51:36 +0200 Subject: [PATCH] Prevent building of qgis_process when WITH_ANALYSIS=FALSE --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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