summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2010-03-17 13:49:22 +0100
committerPino Toscano <pino@kde.org>2010-03-17 13:49:22 +0100
commit3d93daf50c61019ca70f42e7ccf33897800b262a (patch)
tree2e587710c7912dcb47ac26066e82fdef3a861cde /test
parent946a11345d01d39538d22114e50aa3e179059883 (diff)
[CMake] no need to check for BUILD_GTK_TESTS for single tests
poppler_add_test(... BUILD_GTK_TESTS ...) takes care of that already
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0c014184..acb867be 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -15,7 +15,7 @@ if (ENABLE_SPLASH)
endif (ENABLE_SPLASH)
-if (GTK_FOUND AND BUILD_GTK_TESTS)
+if (GTK_FOUND)
add_definitions(${GTK2_CFLAGS})
@@ -50,7 +50,7 @@ if (GTK_FOUND AND BUILD_GTK_TESTS)
endif (HAVE_CAIRO)
-endif (GTK_FOUND AND BUILD_GTK_TESTS)
+endif (GTK_FOUND)
set (pdf_fullrewrite_SRCS
pdf-fullrewrite.cc