0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-25 19:02:44 +00:00
Files
termux-packages/x11-packages/telegram-desktop/0001-use-prebuilt-cppgir.patch
2025-04-24 22:51:52 +08:00

21 lines
471 B
Diff

--- a/cmake/external/glib/generate_cppgir.cmake
+++ b/cmake/external/glib/generate_cppgir.cmake
@@ -23,11 +23,16 @@
set(gir_path ${gir})
endif()
+ set(cppgir_executable CppGir::cppgir)
+ if (PREBUILT_CPPGIR)
+ set(cppgir_executable ${PREBUILT_CPPGIR})
+ endif()
+
add_custom_command(
OUTPUT
${gen_timestamp}
COMMAND
- CppGir::cppgir
+ ${cppgir_executable}
--debug
1
--class