all repos — mgba @ 4a3d9d2252b81b09d0b8d2adcee05dd799f34d96

mGBA Game Boy Advance Emulator

Qt: Add Qt5 Network dependency
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Dec 2015 19:46:33 -0800
commit

4a3d9d2252b81b09d0b8d2adcee05dd799f34d96

parent

13cf63293d21d991517e87043601befaccff9745

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

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

@@ -123,7 +123,7 @@ ShortcutView.ui

VideoView.ui) set(QT_LIBRARIES) -set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libqt5widgets5,libqt5opengl5") +set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libqt5widgets5,libqt5opengl5,libqt5network5") set(AUDIO_SRC) if(BUILD_SDL)

@@ -179,7 +179,7 @@

add_executable(${BINARY_NAME}-qt WIN32 MACOSX_BUNDLE main.cpp ${CMAKE_SOURCE_DIR}/res/mgba.icns ${SOURCE_FILES} ${PLATFORM_SRC} ${UI_FILES} ${AUDIO_SRC} ${RESOURCES}) set_target_properties(${BINARY_NAME}-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/res/info.plist.in COMPILE_DEFINITIONS "${FEATURE_DEFINES};${FUNCTION_DEFINES};${OS_DEFINES};${QT_DEFINES}") -list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::OpenGL) +list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::OpenGL Qt5::Network) target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${BINARY_NAME} ${QT_LIBRARIES} ${OPENGL_LIBRARY} ${OPENGLES2_LIBRARY}) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}" PARENT_SCOPE)