fix: make KF6 Pty build on Redox

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-05-07 08:06:59 +01:00
parent 52954456f2
commit d8d26eaff3
3 changed files with 36 additions and 8 deletions
@@ -33,7 +33,7 @@ find_package(KF6CoreAddons ${KF_DEP_VERSION} REQUIRED)
find_package(KF6I18n ${KF_DEP_VERSION} REQUIRED)
if (UNIX)
find_package(UTEMPTER)
# find_package(UTEMPTER disabled on Redox)
set_package_properties(UTEMPTER PROPERTIES
TYPE OPTIONAL
PURPOSE "Required by KPty for managing UTMP entries"
@@ -57,7 +57,7 @@ ecm_setup_version(
SOVERSION 6)
add_definitions(-DTRANSLATION_DOMAIN=\"kpty6\")
ki18n_install(po)
#ki18n_install(po)
ecm_set_disabled_deprecation_versions(
QT 6.8.0
@@ -65,9 +65,9 @@ ecm_set_disabled_deprecation_versions(
)
add_subdirectory( src )
if (BUILD_TESTING)
add_subdirectory( autotests )
endif()
##if (BUILD_TESTING)
## add_subdirectory( autotests )
##endif()
if (BUILD_QCH)
ecm_install_qch_export(