summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kfile-plugins/dependencies/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/kfile-plugins/dependencies/CMakeLists.txt b/kfile-plugins/dependencies/CMakeLists.txt
index e00ca923..a4b1da2c 100644
--- a/kfile-plugins/dependencies/CMakeLists.txt
+++ b/kfile-plugins/dependencies/CMakeLists.txt
@@ -9,4 +9,6 @@
#
#################################################
-add_subdirectory( poppler-tqt ) \ No newline at end of file
+if( WITH_PDF )
+ add_subdirectory( poppler-tqt )
+endif ( )