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
1 changed files with 6 additions and 0 deletions

View File

@ -349,6 +349,12 @@ else()
set (OPENSSL_LIBS ${lib_ssl} ${lib_crypto}) set (OPENSSL_LIBS ${lib_ssl} ${lib_crypto})
endif() 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. # Configure_file... but for directories, recursively.
# #