summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/dependencies
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-06-12 02:52:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-06-12 02:52:48 +0200
commit8104b62a19379b41e78c7b4ee808fec5d3340603 (patch)
treea407fe473c0a3acf5e5e582e6085305919cefa66 /kfile-plugins/dependencies
parent2e575fef2bac4fb7b7a20d8864abb6665bf4ef19 (diff)
downloadtdegraphics-8104b62a19379b41e78c7b4ee808fec5d3340603.tar.gz
tdegraphics-8104b62a19379b41e78c7b4ee808fec5d3340603.zip
Disable poppler requirement if PDF support is disabled
Thanks to Francois Andriot for the patch!
Diffstat (limited to 'kfile-plugins/dependencies')
-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 ( )