Findbash

find_package(bash [REQUIRED] [QUIET])

This module locates bash. BASH_FOUND will report if bash has been found.

Result Variables

Defines the following variables:

BASH_FOUND
System has bash.
BASH_EXECUTABLE
Path to the bash executable.

Hints

You can directly set BASH_EXECUTABLE if the module has trouble finding bash.