[evolution-data-server/tintou/source-path] M!62 - ObjectIntrospection.cmake: Specify the `sources-top-dirs`
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/tintou/source-path] M!62 - ObjectIntrospection.cmake: Specify the `sources-top-dirs`
- Date: Tue, 29 Dec 2020 23:25:22 +0000 (UTC)
commit b8f7d3f2caa8b592d55d554825ab48fbd37e6050
Author: Corentin Noël <corentin elementary io>
Date: Wed Dec 30 00:23:22 2020 +0100
M!62 - ObjectIntrospection.cmake: Specify the `sources-top-dirs`
Requires GObject Introspection >=1.59.1
Fixes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/284
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/62
cmake/modules/GObjectIntrospection.cmake | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/cmake/modules/GObjectIntrospection.cmake b/cmake/modules/GObjectIntrospection.cmake
index c9fad7e98..1b82796c3 100644
--- a/cmake/modules/GObjectIntrospection.cmake
+++ b/cmake/modules/GObjectIntrospection.cmake
@@ -138,6 +138,8 @@ macro(gir_add_introspection gir)
--filelist=${CMAKE_CURRENT_BINARY_DIR}/${_gir_name}_files
--output ${CMAKE_CURRENT_BINARY_DIR}/${gir}
--accept-unprefixed
+ --sources-top-dirs=${CMAKE_SOURCE_DIR}
+ --sources-top-dirs=${CMAKE_BINARY_DIR}
DEPENDS ${${${_gir_name}_FILES}}
${${_gir_name}_LIBS}
${${_gir_name}_DEPS}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]