[evolution-mapi] eds-I#281 - GLibTools.cmake: Use basename in glib-mkenums templates



commit a57745c9f0985cf2e18b026a51f0e0967ffa9822
Author: Milan Crha <mcrha redhat com>
Date:   Tue Dec 8 08:49:55 2020 +0100

    eds-I#281 - GLibTools.cmake: Use basename in glib-mkenums templates
    
    This change helps to create reproducible builds.
    
    Related to https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/281

 cmake/modules/GLibTools.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cmake/modules/GLibTools.cmake b/cmake/modules/GLibTools.cmake
index d40953c..d262fd8 100644
--- a/cmake/modules/GLibTools.cmake
+++ b/cmake/modules/GLibTools.cmake
@@ -65,7 +65,7 @@ function(glib_mkenums _output_filename_noext _enums_header _define_name)
 
 G_BEGIN_DECLS
 
-/* Enumerations from \"@filename@\" */
+/* Enumerations from \"@basename@\" */
 
 /*** END file-production ***/
 
@@ -95,8 +95,8 @@ set(SOURCE_TMPL "
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from \"@filename@\" */
-#include \"@filename@\"
+/* enumerations from \"@basename@\" */
+#include \"@basename@\"
 
 /*** END file-production ***/
 


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