# TMXPARSER_INCLUDE_DIR
# TMXPARSER_LIBRARY
# TMXPARSER_FOUND

find_path(TMXPARSER_INCLUDE_DIR NAMES tmxparser/Tmx.h
        DOC "The tmxparser include directory"
)

find_library(TMXPARSER_LIBRARY NAMES tmxparser
        DOC "The tmxparser library"
)

if(TMXPARSER_LIBRARY)
    set(TMXPARSER_FOUND TRUE)
else()
    set(TMXPARSER_FOUND FALSE)
endif()

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(TMXPARSER DEFAULT_MSG TMXPARSER_LIBRARY TMXPARSER_INCLUDE_DIR)

mark_as_advanced(TMXPARSER_INCLUDE_DIR TMXPARSER_LIBRARY)