lindows/cmake.d/FindMTools.cmake
2024-02-26 11:03:42 -05:00

29 lines
504 B
CMake

#[=============================[.rst:
FindMTools
----------
finds mtools. holy crap wow.
Result Variables
^^^^^^^^^^^^^^^^
Defines the following variables:
``MTools_FOUND``
True if the system has mtools
``MTools_Format_EXECUTABLE``
Path to mformat
#]=============================]
include(FindPackageHandleStandardArgs)
# mformat
find_program(MTools_Format_EXECUTABLE NAMES mformat)
find_package_handle_standard_args(MTools
FOUND_VAR MTools_FOUND
REQUIRED_VARS
MTools_Format_EXECUTABLE
)