build: simplify links for gui library

public links to common platform net and Qt6::Widgets
This commit is contained in:
sithlord48 2026-08-04 08:27:24 -04:00 committed by Nick Bolton
parent 5ef77381d1
commit 9da4b5cb87

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: (C) 2024 Deskflow Developers
# SPDX-FileCopyrightText: (C) 2024 - 2026 Deskflow Developers
# SPDX-FileCopyrightText: (C) 2024 Symless Ltd
# SPDX-License-Identifier: MIT
@ -122,19 +122,10 @@ add_library(${target} STATIC
widgets/TrashScreenWidget.h
)
target_link_libraries(
${target}
common
platform
Qt6::Core
Qt6::Widgets
Qt6::Network)
if(WIN32)
target_link_libraries(
${target}
base
arch
target_link_libraries(${target}
PUBLIC
common
platform
net
)
endif()
Qt6::Widgets
)