Move the Pty check out

This is the same logic used at link request time, and unbreaks
building on windows
parent 234d6d1b
...@@ -36,13 +36,15 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ...@@ -36,13 +36,15 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
KIO KIO
KHtml KHtml
KDELibs4Support KDELibs4Support
Pty
Solid Solid
Bookmarks Bookmarks
GuiAddons GuiAddons
Activities Activities
) )
# As this is the check used for linkage, only require it in the same location...
if (UNIX)
find_package(KF5Pty ${KF5_MIN_VERSION} REQUIRED)
endif()
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
......
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