all repos — mgba @ 6b2eaed35ace3f2a71990fb90b2b22ff97c371e2

mGBA Game Boy Advance Emulator

Qt: Add more missing references to Qt5::Network
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Dec 2015 19:52:44 -0800
commit

6b2eaed35ace3f2a71990fb90b2b22ff97c371e2

parent

4a3d9d2252b81b09d0b8d2adcee05dd799f34d96

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -32,6 +32,7 @@ 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)

@@ -40,7 +41,7 @@ set(BUILD_QT OFF PARENT_SCOPE)

return() 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") set(BUILD_QT OFF PARENT_SCOPE) return()