diff --git a/config.h.in b/config.h.in
index 223afd6e6a6d1cffdcdda948a49fbd2458565e8d..b00d8cce97dab7ac639efc7a3894b56f2e53d2e8 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 5b93f0bd3df035142a63e756f9c06a37ebd94f86..bc398e16c9c3af4c177e6966aa4fd6713785e861 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(