Update to use current version of Qt's CMake support

This commit is contained in:
sirhc808 2019-07-01 14:19:43 -05:00
parent 7ddcb798fe
commit 86c48cb49f

View File

@ -860,10 +860,7 @@ message (STATUS "hamlib_LIBRARY_DIRS: ${hamlib_LIBRARY_DIRS}")
#
# Widgets finds its own dependencies.
find_package (Qt5Widgets 5 REQUIRED)
find_package (Qt5Multimedia 5 REQUIRED)
find_package (Qt5PrintSupport 5 REQUIRED)
find_package (Qt5Sql 5 REQUIRED)
find_package (Qt5 COMPONENTS Widgets Multimedia PrintSupport Sql REQUIRED)
if (WIN32)
add_definitions (-DQT_NEEDS_QTMAIN)