Files @ 34ec0df769f1
Branch filter:

Location: libtransport.git/cmake_modules/poptConfig.cmake - annotation

Arnt Gulbrandsen
avoid WTF-8.

what arrives from XMPP is already UTF-8 encoded, so applying UTF-8 again
produces somewhat unfortunate results.

this line is not always necessary. before this change, the code was
dependent on the locale.
FIND_LIBRARY(POPT_LIBRARY NAMES popt)
FIND_PATH(POPT_INCLUDE_DIR NAMES "popt.h")


if( POPT_LIBRARY AND POPT_INCLUDE_DIR )
    message( STATUS "Found popt: ${POPT_LIBRARY}, ${POPT_INCLUDE_DIR}")
    set( POPT_FOUND 1 )
else( POPT_LIBRARY AND POPT_INCLUDE_DIR )
    message( STATUS "Could NOT find popt" )
endif( POPT_LIBRARY AND POPT_INCLUDE_DIR )