Qt: Remove QtNetwork dependency

This commit is contained in:
Vicki Pfau 2017-03-24 19:24:06 -07:00
parent 9a5845365b
commit ca4a97ebd4
1 changed files with 1 additions and 2 deletions

View File

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