Files @ 4e3b6ce117b2
Branch filter:

Location: libtransport.git/cmake_modules/purpleConfig.cmake

Daniel Henninger
One more function to go after this. At some future date I'd like to consider if the API provides some better mechanisms, but this'll do for now.
FIND_LIBRARY(PURPLE_LIBRARY NAMES purple)
FIND_PATH(PURPLE_INCLUDE_DIR NAMES "purple.h" PATH_SUFFIXES libpurple )


if( PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR )
    message( STATUS "Found libpurple: ${PURPLE_LIBRARY}, ${PURPLE_INCLUDE_DIR}")
    set( PURPLE_FOUND 1 )
else( PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR )
    message( STATUS "Could NOT find libpurple" )
endif( PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR )