[gcr] meson: fix GCK version macros



commit b8d577f485df5b073a888907e588527a11f4af97
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Aug 8 17:58:16 2022 +0200

    meson: fix GCK version macros
    
    When build with meson, the GCK version macros went from indicating version
    3.34.0 down to version 1.0.0, presumably accidentally. This is not great as
    it makes GCK_CHECK_VERSION() entirely useless.
    
    Let's make sure the newer version have higher version numbers again.
    
    Fixes: a705acc3640e ('Support Meson build system')

 gck/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gck/meson.build b/gck/meson.build
index a42f3651..97f16141 100644
--- a/gck/meson.build
+++ b/gck/meson.build
@@ -26,9 +26,9 @@ gck_headers = files(
 
 # Generated sources
 gck_version_conf = {
-  'GCR_MAJOR': gck_major_version,
-  'GCR_MINOR': gck_minor_version,
-  'GCR_MICRO': gck_micro_version,
+  'GCR_MAJOR': gcr_major_version,
+  'GCR_MINOR': gcr_minor_version,
+  'GCR_MICRO': gcr_micro_version,
 }
 gck_version_h = configure_file(input: 'gck-version.h.in',
   output: 'gck-version.h',


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