summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glib/CMakeLists.txt2
-rw-r--r--glib/poppler-features.h.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index 4caf7e77..2cb207b7 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -16,7 +16,7 @@ if (GDK_FOUND)
add_definitions(${GDK2_CFLAGS})
endif (GDK_FOUND)
-configure_file(poppler-features.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/poppler-features.h)
+configure_file(poppler-features.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/poppler-features.h @ONLY)
if (GTK_FOUND)
add_subdirectory(demo)
diff --git a/glib/poppler-features.h.cmake b/glib/poppler-features.h.cmake
index d6507e7c..76ff4237 100644
--- a/glib/poppler-features.h.cmake
+++ b/glib/poppler-features.h.cmake
@@ -19,6 +19,6 @@
#ifndef __POPPLER_FEATURES_H__
#define __POPPLER_FEATURES_H__
-${CAIRO_FEATURE}
+@CAIRO_FEATURE@
#endif /* __POPPLER_FEATURES_H__ */