[evolution] Missing build dependency for gdbus-codegen on input .xml file



commit 7cbb6fd0f91320334d22228cc6651cb9d81102b9
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 11 10:09:56 2018 +0200

    Missing build dependency for gdbus-codegen on input .xml file
    
    Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/7

 cmake/modules/GLibTools.cmake | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/cmake/modules/GLibTools.cmake b/cmake/modules/GLibTools.cmake
index f0be5586db..d40953c4fb 100644
--- a/cmake/modules/GLibTools.cmake
+++ b/cmake/modules/GLibTools.cmake
@@ -175,6 +175,7 @@ function(gdbus_codegen_custom _xml _interface_prefix _c_namespace _files_prefix
                        --generate-docbook ${_files_prefix}
                        ${_args}
                        ${CMAKE_CURRENT_SOURCE_DIR}/${_xml}
+               MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${_xml}
                VERBATIM
        )
 endfunction(gdbus_codegen_custom)


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