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.
This commit is contained in:
Dom Rodriguez 2019-08-18 22:29:19 +01:00
parent dea143bfd7
commit 6c88843771
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43
1 changed files with 6 additions and 0 deletions

View File

@ -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.
#