summaryrefslogtreecommitdiffstats
path: root/trinity-base/kdegraphics-kfile-plugins/files/tdegraphics-poppler-tqt-remove-unnecessary-check.patch
blob: 35448ab1e2c089a9f3b2c9fef19925400aabebff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake.orig	2012-10-30 15:37:44.306343796 +0400
+++ kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake	2012-10-30 15:37:56.031354364 +0400
@@ -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 )