~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/cmake/FindGperf.cmake

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)