From 86c48cb49f3dfb7752a17b80a3ab06d98cd9878d Mon Sep 17 00:00:00 2001 From: sirhc808 Date: Mon, 1 Jul 2019 14:19:43 -0500 Subject: [PATCH] Update to use current version of Qt's CMake support --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db716d464..a4511b84d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)