|
|
|
@ -68,3 +68,20 @@ pkg_search_module( UNIBREAK libunibreak )
|
|
|
|
|
if( NOT UNIBREAK_FOUND )
|
|
|
|
|
tde_message_fatal( "unibreak is required, but not found on your system" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for standalone iconv library
|
|
|
|
|
check_include_file( "iconv.h" HAVE_ICONV_H )
|
|
|
|
|
if( NOT HAVE_ICONV_H )
|
|
|
|
|
tde_message_fatal( "iconv header is required, but not found on your system" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
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( )
|
|
|
|
|