Commit 8c3dfa26 authored by Pino Toscano's avatar Pino Toscano
Browse files

cmake: support $(gir_name)_EXPORT_PACKAGES for g-ir-scanner

parent de6415af
...@@ -45,6 +45,7 @@ macro(gir_add_introspections introspections_girs) ...@@ -45,6 +45,7 @@ macro(gir_add_introspections introspections_girs)
_gir_list_prefix(_gir_libraries ${_gir_name}_LIBS "--library=") _gir_list_prefix(_gir_libraries ${_gir_name}_LIBS "--library=")
_gir_list_prefix(_gir_packages ${_gir_name}_PACKAGES "--pkg=") _gir_list_prefix(_gir_packages ${_gir_name}_PACKAGES "--pkg=")
_gir_list_prefix(_gir_includes ${_gir_name}_INCLUDES "--include=") _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 # Reuse the LIBTOOL variable from by automake if it's set
set(_gir_libtool "--no-libtool") set(_gir_libtool "--no-libtool")
...@@ -59,6 +60,7 @@ macro(gir_add_introspections introspections_girs) ...@@ -59,6 +60,7 @@ macro(gir_add_introspections introspections_girs)
${_gir_libraries} ${_gir_libraries}
${_gir_packages} ${_gir_packages}
${_gir_includes} ${_gir_includes}
${_gir_export_packages}
${${_gir_name}_SCANNERFLAGS} ${${_gir_name}_SCANNERFLAGS}
${${_gir_name}_CFLAGS} ${${_gir_name}_CFLAGS}
${${_gir_name}_FILES} ${${_gir_name}_FILES}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment