summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2013-01-05 15:37:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-01-05 15:39:20 +0100
commit3fe3a36fd56dd0bb142d901186f7db85981c914f (patch)
tree48669ab62c23852e65bfe58700e6b279d843d30a /kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
parent2f22b12a605271fc2ac2a56ca997d7732ffeac15 (diff)
downloadtdegraphics-3fe3a36fd56dd0bb142d901186f7db85981c914f.tar.gz
tdegraphics-3fe3a36fd56dd0bb142d901186f7db85981c914f.zip
Fix cmake build: removed unnecessary and potentially harmful check in poppler-tqt
This resolves Bug 1295
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake12
1 files changed, 5 insertions, 7 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
index 99786378..b15057c9 100644
--- a/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
+++ b/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
@@ -1,11 +1,9 @@
# Poppler
-if( BUILD_KPDF )
- pkg_search_module( POPPLER poppler )
- if( POPPLER_FOUND )
- set( HAVE_POPPLER 1 )
- else( )
- tde_message_fatal( "poppler is required, but was not found on your system" )
- endif( )
+pkg_search_module( POPPLER poppler )
+if( POPPLER_FOUND )
+ set( HAVE_POPPLER 1 )
+else( )
+ tde_message_fatal( "poppler is required, but was not found on your system" )
endif( )
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )