From 6c888437711c50956e56818ce2beeb5990e24efd Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Sun, 18 Aug 2019 22:29:19 +0100 Subject: [PATCH] Fix: CMake now checks for required Qt5 libraries This won't fix #402 completely, but it *will* help mitigate similar issues with Qt5 libraries during compilation in the future. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c286358..da9bd233 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,6 +349,12 @@ else() set (OPENSSL_LIBS ${lib_ssl} ${lib_crypto}) endif() + +# Check we have the *required* Qt5 libs. +find_package(Qt5Core REQUIRED) +find_package(Qt5Network REQUIRED) +find_package(Qt5Widgets REQUIRED) + # # Configure_file... but for directories, recursively. #