Fix build with standalone libiconv.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 5 years ago
parent 384422dd25
commit eb0fabd7da
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -49,3 +49,16 @@ if( LIBYAZ_FOUND )
else()
tde_message_fatal( "libyaz is required, but was not found on your system" )
endif( )
##### check for libiconv
message( STATUS "Check for standalone libiconv" )
find_library( HAVE_LIBICONV iconv )
if( HAVE_LIBICONV )
set( ICONV_LIBRARIES iconv )
message( STATUS "Check for standalone libiconv - found" )
else( )
set( ICONV_LIBRARIES "" )
message( STATUS "Check for standalone libiconv - not found" )
endif( )

@ -91,6 +91,7 @@ tde_add_kpart( libkbibtexpart AUTOMOC
tdeutils-shared
katepartinterfaces-shared
tdetexteditor
${ICONV_LIBRARIES}
${LIBXML2_LIBRARIES}
${LIBXSLT_LIBRARIES}
${LIBXSLT_EXSLT_LIBRARIES}

Loading…
Cancel
Save