FindM4ΒΆ
New in version 3.23.00.
The module defines the following variables:
M4_EXECUTABLEPath to M4 command-line client.
M4_FOUND,M4_FOUNDTrue if the M4 command-line client was found.
M4_IS_GNUTrue if the m4 found is GNU m4.
M4_POSIX_OPTIf applicable, this is set to the option used to require POSIX behavior. if
M4_IS_GNUis true, this should be-G.M4_VERSION_STRINGThe version of M4 found.
The module defines the following
IMPORTEDtargets (whenCMAKE_ROLEisPROJECT):M4::M4Executable of the M4 command-line client.
Example usage:
find_package(M4)
if(M4_FOUND)
message("M4 found: ${M4_EXECUTABLE}")
endif()
Cetmodules