downloader: require only Qt 5.11

Qt 5.11 is what current Raspian comes with. Unless we
really need it, let's try not to have to manually download
Qt on an already slow RaspberryPi.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2020-11-16 13:22:41 +01:00 committed by Dirk Hohndel
parent 85f8978e74
commit d73c70181f

View file

@ -287,7 +287,7 @@ elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
endif() endif()
elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable") elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable")
# let's pick a version that's not ancient # let's pick a version that's not ancient
find_package(Qt5 5.12 REQUIRED COMPONENTS ${QT_FIND_COMPONENTS}) find_package(Qt5 5.11 REQUIRED COMPONENTS ${QT_FIND_COMPONENTS})
set(MAKE_TESTS OFF) set(MAKE_TESTS OFF)
endif() endif()
foreach(_QT_COMPONENT ${QT_FIND_COMPONENTS}) foreach(_QT_COMPONENT ${QT_FIND_COMPONENTS})