Qt: Add more missing references to Qt5::Network

This commit is contained in:
Jeffrey Pfau 2015-12-20 19:52:44 -08:00
parent 4a3d9d2252
commit 6b2eaed35a
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ if(NOT WIN32 OR NOT BUILD_SDL)
find_package(Qt5Multimedia) find_package(Qt5Multimedia)
endif() endif()
find_package(Qt5OpenGL) find_package(Qt5OpenGL)
find_package(Qt5Network)
find_package(Qt5Widgets) find_package(Qt5Widgets)
if(NOT BUILD_GL AND NOT BUILD_GLES2) if(NOT BUILD_GL AND NOT BUILD_GLES2)
@ -40,7 +41,7 @@ if(NOT BUILD_GL AND NOT BUILD_GLES2)
return() return()
endif() endif()
if(NOT Qt5OpenGL_FOUND OR NOT Qt5Widgets_FOUND) if(NOT Qt5OpenGL_FOUND OR NOT Qt5Widgets_FOUND OR NOT Qt5Network_FOUND)
message(WARNING "Cannot find Qt modules") message(WARNING "Cannot find Qt modules")
set(BUILD_QT OFF PARENT_SCOPE) set(BUILD_QT OFF PARENT_SCOPE)
return() return()