#
# Find the pygccxml python installation
#
# This module defines
# PYGCCXML_FOUND, If false, do not try to use pygccxml
# PYPLUSPLUS_FOUND, If false, do not try to use pyplusplus

find_path(PYGCCXML_PATH pygccxml/__init__.py
    HINTS
        ${EXTERNAL_DIR}
    NO_DEFAULT_PATH
)

if (PYGCCXML_PATH)
    message( STATUS "Found pygccxml path: ${PYGCCXML_PATH}")
    set(PYGCCXML_FOUND TRUE)
else (PYGCCXML_PATH)
    message( STATUS "NOT Found pygccxml: cannot build pygimli.")
endif(PYGCCXML_PATH)

mark_as_advanced(PYGCCXML)
