FindGperf.cmake 538 B

1234567891011121314151617181920
  1. # - Find gperf
  2. # This module looks for gperf. This module defines the
  3. # following values:
  4. # GPERF_EXECUTABLE: the full path to the gperf tool.
  5. # GPERF_FOUND: True if gperf has been found.
  6. include(FindCygwin)
  7. find_program(GPERF_EXECUTABLE
  8. gperf
  9. ${CYGWIN_INSTALL_PATH}/bin
  10. )
  11. # handle the QUIETLY and REQUIRED arguments and set GPERF_FOUND to TRUE if
  12. # all listed variables are TRUE
  13. include(FindPackageHandleStandardArgs)
  14. FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gperf DEFAULT_MSG GPERF_EXECUTABLE)
  15. mark_as_advanced(GPERF_EXECUTABLE)