mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-25 19:02:44 +00:00
21 lines
471 B
Diff
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
|