Fix CMake build when Qt5 is partially found

Thanks kerio for report
This commit is contained in:
Alexey Sokolov
2016-01-16 16:36:32 +00:00
parent 561a18054c
commit a0c05b38f8
4 changed files with 79 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ set(CMAKE_THREAD_PREFER_PTHREAD true)
set(THREADS_PREFER_PTHREAD_FLAG true)
find_package(Threads REQUIRED)
find_package(Qt5Network 5.4 HINTS ${Qt5_HINTS})
find_package(Qt5Network 5.4 REQUIRED HINTS ${Qt5_HINTS})
# Force the simple internal regex engine to get consistent behavior on all
# platforms. See