FindGperf.cmake 538 Bytes
Newer Older
1
# - Find gperf
2
# This module looks for gperf. This module defines the
3 4 5 6
# following values:
#  GPERF_EXECUTABLE: the full path to the gperf tool.
#  GPERF_FOUND: True if gperf has been found.

7
include(FindCygwin)
8

9
find_program(GPERF_EXECUTABLE
10 11 12 13
    gperf
    ${CYGWIN_INSTALL_PATH}/bin
)

14
# handle the QUIETLY and REQUIRED arguments and set GPERF_FOUND to TRUE if
15
# all listed variables are TRUE
16
include(FindPackageHandleStandardArgs)
17 18
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gperf DEFAULT_MSG GPERF_EXECUTABLE)

19
mark_as_advanced(GPERF_EXECUTABLE)