mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
Remove WinExtras usage since it no longer exists
Qt 6 no longer offers the WinExtras module.
This commit is contained in:
parent
2847ac6fa7
commit
6460ec22d3
|
@ -70,7 +70,6 @@ if (UNIX AND NOT APPLE AND NOT NO_X11)
|
||||||
endif()
|
endif()
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
add_definitions(-DW7API)
|
add_definitions(-DW7API)
|
||||||
find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS WinExtras)
|
|
||||||
|
|
||||||
# taken from https://stackoverflow.com/a/40217291
|
# taken from https://stackoverflow.com/a/40217291
|
||||||
macro(get_WIN32_WINNT version)
|
macro(get_WIN32_WINNT version)
|
||||||
|
|
|
@ -620,10 +620,6 @@ if (UNIX AND NOT APPLE)
|
||||||
install(TARGETS FalkonPrivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
install(TARGETS FalkonPrivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
|
||||||
target_link_libraries(FalkonPrivate Qt::WinExtras)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
target_link_libraries(FalkonPrivate "-framework CoreServices -framework AppKit")
|
target_link_libraries(FalkonPrivate "-framework CoreServices -framework AppKit")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user