# - Find UTF8CPP
# Find the native UTF8CPP includes
#
#   UTF8CPP_FOUND       - True if UTF8CPP found.
#   UTF8CPP_INCLUDE_DIR - where to find utf8.h, etc.
#

IF( UTF8CPP_INCLUDE_DIR )
    # Already in cache, be silent
    SET( UTF8CPP_FIND_QUIETLY TRUE )
ENDIF( UTF8CPP_INCLUDE_DIR )

FIND_PATH( UTF8CPP_INCLUDE_DIR "utf8.h"
           PATH_SUFFIXES "utf8cpp" HINTS ${DEP_DIR} )

# handle the QUIETLY and REQUIRED arguments and set UTF8CPP_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE( "FindPackageHandleStandardArgs" )
FIND_PACKAGE_HANDLE_STANDARD_ARGS( "UTF8CPP" DEFAULT_MSG UTF8CPP_INCLUDE_DIR )

MARK_AS_ADVANCED( UTF8CPP_INCLUDE_DIR )
