simple CMake fix to use Qt's latest CMake support

This commit is contained in:
sirhc808 2019-07-01 19:36:14 -05:00
parent d03900d738
commit 4317f54b1a

View File

@ -889,10 +889,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)