Merge pull request #404 from shymega/fix/cmake-qt

Fix: CMake now checks for required Qt5 libraries
This commit is contained in:
Adrian Lucrèce Céleste 2019-08-18 17:35:57 -04:00 committed by GitHub
commit cf3b86341a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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