UI: Include QtNetwork as a direct dependency

(Jim note: Rather than copy the QtNetwork library manually like we were
doing before, this makes it so that QtNetwork is used as a dependency of
the UI. The cmake used to copy the library manually thus us no longer
necessary.)
This commit is contained in:
Yuriy Chumak
2021-06-27 03:32:06 -07:00
committed by jp9000
parent ff0350b515
commit eb6ba44c8a
3 changed files with 2 additions and 17 deletions

View File

@@ -46,6 +46,7 @@ configure_file(
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
set(CMAKE_AUTOMOC TRUE)
find_package(Qt5Network ${FIND_MODE})
find_package(Qt5Widgets ${FIND_MODE})
find_package(Qt5Svg ${FIND_MODE})
find_package(Qt5Xml ${FIND_MODE})
@@ -400,6 +401,7 @@ endif()
target_link_libraries(obs
libobs
Qt5::Network
Qt5::Widgets
Qt5::Svg
Qt5::Xml