diff options
author | Maciej Mrozowski <reavertm@gmail.com> | 2010-01-25 00:33:07 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2010-01-25 00:33:07 +0000 |
commit | 54c86e53a143a8f9d196e4bef2a733c6f00f6026 (patch) | |
tree | 2fdd54a8ba348c2a6909042f4130740eb110e234 /test | |
parent | eb082274694aadb80dd16caea65d7f0a1adf8b46 (diff) |
Only build tests if told to
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 |