0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/ki18n/src-CMakeLists.txt.patch
2024-10-18 14:45:21 +03:00

12 lines
747 B
Diff

diff -uNr ki18n-5.99.0/CMakeLists.txt ki18n-5.99.0.mod/CMakeLists.txt
--- ki18n-5.99.0/CMakeLists.txt 2022-10-01 22:18:23.000000000 +0800
+++ ki18n-5.99.0.mod/CMakeLists.txt 2022-11-12 17:33:46.408158519 +0800
@@ -63,7 +63,6 @@
# Due to CMake caching the variables, and KF5I18nMacros being included by KF5I18nConfig,
# we have to hardcode the PYTHON_EXECUTABLE path or anything depending on KF5I18n
# would be unable to find another Python version.
-find_package(PythonInterp REQUIRED)
configure_file(cmake/KF5I18nMacros.cmake.in ${KI18n_BINARY_DIR}/cmake/KF5I18nMacros.cmake @ONLY)
# Needed to build the ki18n translations and run the autotests
file(COPY ${KI18n_SOURCE_DIR}/cmake/build-pofiles.cmake DESTINATION ${KI18n_BINARY_DIR}/cmake)