Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 636 Bytes
# - 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" )
# 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 )