summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2009-06-05 10:51:26 +0200
committerPino Toscano <pino@kde.org>2009-06-05 10:51:26 +0200
commit26f6fb1d79c2589829cd896d57da63d16641f307 (patch)
treec4e2a711b7c74fbc316b59d35c3da3d9a6fbfd05 /glib
parent89704635b727db42f6c72ba101091eb7eddb967a (diff)
[CMake] switch poppler-features.h.cmake to a more autotools-like syntax
Diffstat (limited to 'glib')
-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__ */