build: simplify links for gui library
public links to common platform net and Qt6::Widgets
This commit is contained in:
parent
5ef77381d1
commit
9da4b5cb87
1 changed files with 7 additions and 16 deletions
|
|
@ -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}
|
||||
target_link_libraries(${target}
|
||||
PUBLIC
|
||||
common
|
||||
platform
|
||||
Qt6::Core
|
||||
Qt6::Widgets
|
||||
Qt6::Network)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(
|
||||
${target}
|
||||
base
|
||||
arch
|
||||
net
|
||||
)
|
||||
endif()
|
||||
Qt6::Widgets
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue