diff options
-rw-r--r-- | glib/CMakeLists.txt | 4 | ||||
-rw-r--r-- | test/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt index 7a6548fc..92a867ef 100644 --- a/glib/CMakeLists.txt +++ b/glib/CMakeLists.txt @@ -93,11 +93,11 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ) -if (GDK_FOUND AND BUILD_GTK_TESTS) +if (GDK_FOUND) set(test_poppler_glib_SRCS test-poppler-glib.cc ) poppler_add_test(test-poppler-glib BUILD_GTK_TESTS ${test_poppler_glib_SRCS}) target_link_libraries(test-poppler-glib poppler-glib ${GDK2_LIBRARIES}) -endif (GDK_FOUND AND BUILD_GTK_TESTS) +endif (GDK_FOUND) 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 |