Add QT Network package

This commit is contained in:
vampiric_x 2025-01-18 02:16:13 +01:00
parent 913cc27e3a
commit 07b949025f
2 changed files with 5 additions and 1 deletions

View file

@ -422,7 +422,7 @@ if (ENABLE_QT)
download_qt(6.7.3) download_qt(6.7.3)
endif() endif()
find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent) find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network)
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)
find_package(Qt6 REQUIRED COMPONENTS DBus) find_package(Qt6 REQUIRED COMPONENTS DBus)

View file

@ -435,6 +435,10 @@ if (CITRON_USE_QT_WEB_ENGINE)
target_compile_definitions(citron PRIVATE -DCITRON_USE_QT_WEB_ENGINE) target_compile_definitions(citron PRIVATE -DCITRON_USE_QT_WEB_ENGINE)
endif () endif ()
target_link_libraries(citron PRIVATE PRIVATE
Qt::Network
)
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
install(TARGETS citron) install(TARGETS citron)
endif() endif()