Fix cmake build: removed unnecessary and potentially harmful check in poppler-tqt

This resolves Bug 1295
(cherry picked from commit 3fe3a36fd5)
v3.5.13-sru
Alexander Golubev 12 years ago committed by Slávek Banko
parent 7141229784
commit 7f07ae0885

@ -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 )

Loading…
Cancel
Save