From 54c86e53a143a8f9d196e4bef2a733c6f00f6026 Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Mon, 25 Jan 2010 00:33:07 +0000 Subject: Only build tests if told to --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 478cb31a..2c6ec36f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -10,7 +10,7 @@ if (ENABLE_SPLASH) endif (ENABLE_SPLASH) -if (GTK_FOUND) +if (GTK_FOUND AND BUILD_GTK_TESTS) add_definitions(${GTK2_CFLAGS}) @@ -41,7 +41,7 @@ if (GTK_FOUND) endif (HAVE_CAIRO) -endif (GTK_FOUND) +endif (GTK_FOUND AND BUILD_GTK_TESTS) set (pdf_fullrewrite_SRCS pdf-fullrewrite.cc -- cgit v1.2.3