From 3fe3a36fd56dd0bb142d901186f7db85981c914f Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sat, 5 Jan 2013 15:37:41 +0100 Subject: Fix cmake build: removed unnecessary and potentially harmful check in poppler-tqt This resolves Bug 1295 --- kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | 12 +++++------- 1 file 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 ) -- cgit v1.2.1