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-FileCopyrightText: (C) 2024 Symless Ltd
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
|
@ -122,19 +122,10 @@ add_library(${target} STATIC
|
||||||
widgets/TrashScreenWidget.h
|
widgets/TrashScreenWidget.h
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(${target}
|
||||||
${target}
|
PUBLIC
|
||||||
common
|
common
|
||||||
platform
|
platform
|
||||||
Qt6::Core
|
|
||||||
Qt6::Widgets
|
|
||||||
Qt6::Network)
|
|
||||||
|
|
||||||
if(WIN32)
|
|
||||||
target_link_libraries(
|
|
||||||
${target}
|
|
||||||
base
|
|
||||||
arch
|
|
||||||
net
|
net
|
||||||
)
|
Qt6::Widgets
|
||||||
endif()
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue