# mstringConfig.cmake — find_package(mstring) for an installed mstring
# (cmake --install, the TGZ / RPM / DEB packages, a Conan deploy).
#
# Defines mstring_generate() (see mstring-generate.cmake next to this file)
# and points MSTRING_EXECUTABLE at the mstring of this installation, unless
# the caller already set it. A Conan consumer normally gets CMakeDeps' own
# config instead; both define the same function.
@PACKAGE_INIT@
if(MSTRING_EXECUTABLE AND NOT EXISTS "${MSTRING_EXECUTABLE}")
unset(MSTRING_EXECUTABLE CACHE) # a cached path to a removed installation
endif()
if(NOT MSTRING_EXECUTABLE)
find_program(MSTRING_EXECUTABLE mstring
HINTS "@PACKAGE_CMAKE_INSTALL_BINDIR@"
NO_DEFAULT_PATH)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/mstring-generate.cmake")
check_required_components(mstring)