Update the Qt requirement to what we actually test on CI

This commit is contained in:
Albert Astals Cid 2020-12-10 19:50:48 +01:00
parent bd31ef1587
commit e9e0f2085d

View File

@ -44,7 +44,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" )
# Do not automatically link Qt executables to qtmain target on Windows.
# QCA exucatables use console mode only. Not need to link against qtmain.lib.
set(Qt5_NO_LINK_QTMAIN ON)
find_package(Qt5 5.6 REQUIRED Core)
find_package(Qt5 5.9 REQUIRED Core)
set(CMAKE_AUTOMOC ON)
include(QcaMacro)