~ubuntu-branches/ubuntu/intrepid/cmake/intrepid-backports

« back to all changes in this revision

Viewing changes to Modules/FindWish.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Maitland Bottoms
  • Date: 2002-02-14 18:36:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020214183625-8m44isdas2k4l0f7
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This module finds if TCL is installed and determines where the
 
3
# include files and libraries are. It also determines what the name of
 
4
# the library is. This code sets the following variables:
 
5
#
 
6
#  TK_WISH          = the full path to the wish binary (wish wish80 etc)
 
7
#
 
8
 
 
9
# if UNIX is defined, then look for the cygwin version first
 
10
IF(UNIX)
 
11
  FIND_PROGRAM(TK_WISH cygwish80 )
 
12
ENDIF(UNIX)
 
13
 
 
14
FIND_PROGRAM(TK_WISH
 
15
  NAMES wish wish84 wish8.4 wish83 wish8.3 wish82 wish80
 
16
)
 
17
 
 
18
IF (WIN32)
 
19
  MARK_AS_ADVANCED(
 
20
    TK_WISH
 
21
    )
 
22
ENDIF(WIN32)