Home | History | Annotate | Download | only in cmake
      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 
      7 INCLUDE(FindCygwin)
      8 
      9 FIND_PROGRAM(GPERF_EXECUTABLE
     10     gperf
     11     ${CYGWIN_INSTALL_PATH}/bin
     12 )
     13 
     14 # handle the QUIETLY and REQUIRED arguments and set GPERF_FOUND to TRUE if 
     15 # all listed variables are TRUE
     16 INCLUDE(FindPackageHandleStandardArgs)
     17 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gperf DEFAULT_MSG GPERF_EXECUTABLE)
     18 
     19 MARK_AS_ADVANCED(GPERF_EXECUTABLE)
     20