From 1108daeb70e9f2789cb536469a23ffdcb9d9d4e7 Mon Sep 17 00:00:00 2001
From: Antoine Fontaine <antoine.fontaine@epfl.ch>
Date: Sun, 30 Jun 2019 10:09:07 +0200
Subject: [PATCH] CACHE_ROOT=build_dir messes too much

---
 config.h.in | 2 +-
 meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.h.in b/config.h.in
index 223afd6..b00d8cc 100644
--- a/config.h.in
+++ b/config.h.in
@@ -5,7 +5,7 @@
 
 #define USERNAME "afontain"
 
-#define CACHE_ROOT @CACHE_ROOT@
+#mesondefine CACHE_ROOT
 
 
 // how verbose the http requests are: 0–none, 1–headers only, 2–headers and beginning of text 3+–dump all
diff --git a/meson.build b/meson.build
index 5b93f0b..bc398e1 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,7 @@ src_inc = include_directories('src')
 
 config_h = configuration_data()
 config_h.set_quoted('GETTEXT_PACKAGE', 'moody')
-config_h.set_quoted('CACHE_ROOT', meson.source_root())
+#config_h.set_quoted('CACHE_ROOT', meson.source_root())
 config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
 
 configure_file(
-- 
GitLab