summaryrefslogtreecommitdiffstats
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:56:54 +0200
commita0c32e0a6adf1f571e74f4985fc5e25f0b3cb361 (patch)
tree315d36446ccf35fd97c85da0685429eac5df5cd8
parent3a8d9051e9b28f3b757d133577a64a7626760766 (diff)
downloadtdegraphics-a0c32e0a6adf1f571e74f4985fc5e25f0b3cb361.tar.gz
tdegraphics-a0c32e0a6adf1f571e74f4985fc5e25f0b3cb361.zip
Disable poppler requirement if PDF support is disabled
Thanks to Francois Andriot for the patch! (cherry picked from commit 8104b62a19379b41e78c7b4ee808fec5d3340603)
-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 ( )