mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-02 04:54:15 +01:00
CMake: cleanup Qt5 linking
This commit is contained in:
+2
-13
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user