diff --git a/config.h.in b/config.h.in
index b94d23f..a26dac8 100644
--- a/config.h.in
+++ b/config.h.in
@@ -5,7 +5,7 @@
 #undef ENABLE_NLS
 
 /* Define the gettext package to be used */
-#undef GETTEXT_PACKAGE
+#cmakedefine GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
 
 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
 #undef HAVE_BIND_TEXTDOMAIN_CODESET
@@ -86,7 +86,7 @@
 #undef STDC_HEADERS
 
 /* Version number of package */
-#undef VERSION
+#cmakedefine VERSION @VERSION@
 
 /* defines how to decorate public symbols while building */
 #undef _ATK_EXTERN
