Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6695066a authored by Kevin Funk's avatar Kevin Funk

Require kdewin on Windows

This library provides includes such as dirent.h
parent 8906e7ee
......@@ -37,7 +37,6 @@ set(filelight_SRCS
main.cpp)
ki18n_wrap_ui(filelight_SRCS dialog.ui)
add_executable(filelight ${filelight_SRCS})
target_link_libraries(filelight
......@@ -45,5 +44,9 @@ target_link_libraries(filelight
KF5::XmlGui
KF5::KIOWidgets # Only used for KDirLister, may be able to move away from that.
)
if (WIN32)
find_package(KDEWin REQUIRED)
target_link_libraries(filelight kdewin)
endif()
install(TARGETS filelight ${INSTALL_TARGETS_DEFAULT_ARGS})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment