[evolution-data-server] GObjectIntrospection.cmake: Depend rather on gir target, than on gir file



commit 2795f5201d87986cf649d1e606ffda438898022b
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 7 12:04:28 2020 +0200

    GObjectIntrospection.cmake: Depend rather on gir target, than on gir file
    
    This may hopefully address occasional build break related to broken .gir
    file due to executed generation of it twice at the same time.

 cmake/modules/GObjectIntrospection.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cmake/modules/GObjectIntrospection.cmake b/cmake/modules/GObjectIntrospection.cmake
index 5e00d26d1..c9fad7e98 100644
--- a/cmake/modules/GObjectIntrospection.cmake
+++ b/cmake/modules/GObjectIntrospection.cmake
@@ -158,7 +158,7 @@ macro(gir_add_introspection gir)
                                        --includedir=${SHARE_INSTALL_PREFIX}/gir-1.0
                                        ${CMAKE_CURRENT_BINARY_DIR}/${gir}
                                        -o ${CMAKE_CURRENT_BINARY_DIR}/${_typelib}
-                               DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${gir}
+                               DEPENDS gir-girs-${_gir_name}
                                OUTPUT ${_typelib}
                                WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
                        )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]