mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
CMake: cleanup Qt5 linking
This commit is contained in:
parent
e6576e1064
commit
169bfc93e7
1 changed files with 2 additions and 13 deletions
|
@ -283,25 +283,14 @@ if (WITH_SCANNER)
|
|||
)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE AND NOT Qt6_FOUND)
|
||||
if(UNIX AND NOT APPLE AND STATIC AND NOT Qt6_FOUND)
|
||||
target_link_libraries(feather
|
||||
Qt5::QSvgIconPlugin
|
||||
Qt5::QSvgPlugin
|
||||
Qt5::QXcbIntegrationPlugin
|
||||
)
|
||||
endif()
|
||||
|
||||
if(STATIC AND NOT Qt6_FOUND)
|
||||
if(NOT Qt6_FOUND)
|
||||
target_link_libraries(feather
|
||||
Qt5::QSvgIconPlugin
|
||||
Qt5::QSvgPlugin)
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
target_link_libraries(feather
|
||||
Qt5::QXcbIntegrationPlugin)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(STATIC AND UNIX AND NOT APPLE AND Qt6_FOUND)
|
||||
target_link_libraries(feather Qt6::QComposePlatformInputContextPlugin)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue