### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-modules(7) »

# FindHg

The module defines the following variables:

    HG_EXECUTABLE - path to mercurial command line client (hg)
    HG_FOUND - true if the command line client was found
    HG_VERSION_STRING - the version of mercurial found

Example usage:

    find_package(Hg)
    if(HG_FOUND)
      message("hg found: ${HG_EXECUTABLE}")
    endif()

### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-modules(7) »