From 4317f54b1a534b5e6c9a5052429e35d4e0bbb9e6 Mon Sep 17 00:00:00 2001 From: sirhc808 Date: Mon, 1 Jul 2019 19:36:14 -0500 Subject: [PATCH] simple CMake fix to use Qt's latest CMake support --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2d6dd396..897139201 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)