WITH_QTGAMEPAD should default to false

This commit is contained in:
Nyall Dawson 2023-03-13 13:24:06 +10:00
parent ac74fb6b0a
commit d1ec7cbf10

View File

@ -466,7 +466,7 @@ if(WITH_CORE)
endif()
# Use QtGamepad optionally for input control
set (WITH_QTGAMEPAD TRUE CACHE BOOL "Determines whether QtGamepad should be tried for GPS positioning")
set (WITH_QTGAMEPAD FALSE CACHE BOOL "Determines whether QtGamepad should be tried for GPS positioning")
if (WITH_QTGAMEPAD)
find_package(${QT_VERSION_BASE} COMPONENTS Gamepad REQUIRED)
# following variable is used in qgsconfig.h