diff options
Diffstat (limited to 'Source/cmake/FindGperf.cmake')
-rw-r--r-- | Source/cmake/FindGperf.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmake/FindGperf.cmake b/Source/cmake/FindGperf.cmake index 0e5391216..0574d32fa 100644 --- a/Source/cmake/FindGperf.cmake +++ b/Source/cmake/FindGperf.cmake @@ -1,19 +1,19 @@ # - Find gperf -# This module looks for gperf. This module defines the +# This module looks for gperf. This module defines the # following values: # GPERF_EXECUTABLE: the full path to the gperf tool. # GPERF_FOUND: True if gperf has been found. -INCLUDE(FindCygwin) +include(FindCygwin) -FIND_PROGRAM(GPERF_EXECUTABLE +find_program(GPERF_EXECUTABLE gperf ${CYGWIN_INSTALL_PATH}/bin ) -# handle the QUIETLY and REQUIRED arguments and set GPERF_FOUND to TRUE if +# handle the QUIETLY and REQUIRED arguments and set GPERF_FOUND to TRUE if # all listed variables are TRUE -INCLUDE(FindPackageHandleStandardArgs) +include(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gperf DEFAULT_MSG GPERF_EXECUTABLE) -MARK_AS_ADVANCED(GPERF_EXECUTABLE) +mark_as_advanced(GPERF_EXECUTABLE) |