# - Try to find TinyXML
# Once done this will define
#  TINYXML_FOUND - System has TinyXML
#  TINYXML_INCLUDE_DIRS - The TinyXML include directories
#  TINYXML_LIBRARIES - The libraries needed to use TinyXML
#  TINYXML_DEFINITIONS - Compiler switches required for using TinyXML

find_package (PkgConfig REQUIRED)
pkg_check_modules(NVTINYXML REQUIRED tinyxml)

set(TINYXML_FOUND ${NVTINYXML_FOUND})
set(TINYXML_LIBRARIES ${NVTINYXML_LIBRARIES} )
set(TINYXML_INCLUDE_DIRS ${NVTINYXML_INCLUDE_DIRS} )
