We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0fc16d6 commit 71ec68bCopy full SHA for 71ec68b
CMakeLists.txt
@@ -108,8 +108,12 @@ IF(WITH_CORE)
108
IF (NOT WITH_GUI)
109
SET (HAVE_GUI FALSE) # used in qgsconfig.h
110
# force value of some options
111
- SET(WITH_DESKTOP FALSE)
112
- SET(WITH_CUSTOM_WIDGETS FALSE)
+ IF(WITH_DESKTOP)
+ MESSAGE(FATAL_ERROR "Desktop cannot be built without gui. Enable WITH_GUI or disable WITH_DESKTOP.")
113
+ ENDIF(WITH_DESKTOP)
114
+ IF(WITH_CUSTOM_WIDGETS)
115
+ MESSAGE(FATAL_ERROR "Custom widgets cannot be built without gui. Enable WITH_GUI or disable WITH_CUSTOM_WIDGETS.")
116
+ ENDIF(WITH_CUSTOM_WIDGETS)
117
ELSE ()
118
SET (HAVE_GUI TRUE) # used in qgsconfig.h
119
ENDIF()
0 commit comments