Don't disable Pty on macOS

This commit is contained in:
Julius Künzel
2024-02-24 22:03:12 +00:00
committed by Waqar Ahmed
parent 7bbcc32b80
commit c0f2d26377
2 changed files with 12 additions and 2 deletions

View File

@@ -74,10 +74,15 @@ find_package(KF6 ${KF5_DEP_VERSION} REQUIRED
XmlGui
)
if (NOT WIN32)
find_package(KF6 ${KF5_DEP_VERSION} REQUIRED
Pty
)
endif()
if (NOT WIN32 AND NOT APPLE)
find_package(KF6 ${KF5_DEP_VERSION} REQUIRED
GlobalAccel
Pty
)
endif()

View File

@@ -74,9 +74,14 @@ set(konsole_LIBS
KF6::NewStuffCore
)
if (NOT WIN32 AND NOT APPLE)
if (NOT WIN32)
list(APPEND konsole_LIBS
KF6::Pty
)
endif()
if (NOT WIN32 AND NOT APPLE)
list(APPEND konsole_LIBS
KF6::GlobalAccel
)
endif()