summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2012-01-30 00:21:31 +0100
committerPino Toscano <pino@kde.org>2012-01-30 00:21:31 +0100
commitbf2ffb1cc76bcf569419ac495f524c41bb6f1650 (patch)
tree05d3bb70bc29036429420cdf18456f60da056b63
parentcbe7131e63c5896010e7e1ad5c0c3aa91611704d (diff)
cmake: support $(gir_name)_EXPORT_PACKAGES for g-ir-scanner
-rw-r--r--cmake/modules/GObjectIntrospectionMacros.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/GObjectIntrospectionMacros.cmake b/cmake/modules/GObjectIntrospectionMacros.cmake
index e7d62a39..3f90c2a0 100644
--- a/cmake/modules/GObjectIntrospectionMacros.cmake
+++ b/cmake/modules/GObjectIntrospectionMacros.cmake
@@ -45,6 +45,7 @@ macro(gir_add_introspections introspections_girs)
_gir_list_prefix(_gir_libraries ${_gir_name}_LIBS "--library=")
_gir_list_prefix(_gir_packages ${_gir_name}_PACKAGES "--pkg=")
_gir_list_prefix(_gir_includes ${_gir_name}_INCLUDES "--include=")
+ _gir_list_prefix(_gir_export_packages ${_gir_name}_EXPORT_PACKAGES "--pkg-export=")
# Reuse the LIBTOOL variable from by automake if it's set
set(_gir_libtool "--no-libtool")
@@ -59,6 +60,7 @@ macro(gir_add_introspections introspections_girs)
${_gir_libraries}
${_gir_packages}
${_gir_includes}
+ ${_gir_export_packages}
${${_gir_name}_SCANNERFLAGS}
${${_gir_name}_CFLAGS}
${${_gir_name}_FILES}