FindM4ΒΆ
New in version 3.23.00.
The module defines the following variables:
M4_EXECUTABLE
Path to M4 command-line client.
M4_FOUND
,M4_FOUND
True if the M4 command-line client was found.
M4_IS_GNU
True if the m4 found is GNU m4.
M4_POSIX_OPT
If applicable, this is set to the option used to require POSIX behavior. if
M4_IS_GNU
is true, this should be-G
.M4_VERSION_STRING
The version of M4 found.
The module defines the following
IMPORTED
targets (whenCMAKE_ROLE
isPROJECT
):M4::M4
Executable of the M4 command-line client.
Example usage:
find_package(M4)
if(M4_FOUND)
message("M4 found: ${M4_EXECUTABLE}")
endif()