FindWish

Finds wish, a simple windowing shell command-line executable:

find_package(Wish [...])

This module is commonly used in conjunction with finding a TCL installation (see the FindTCL module). It helps determine where the TCL include paths and libraries are, as well as identifying the name of the TCL library.

If the UNIX variable is defined, the module will prioritize looking for the Cygwin version of wish executable.

Result Variables

This module defines the following variables:

Wish_FOUND

Added in version 4.2.

Boolean indicating whether the wish executable was found.

Cache Variables

The following cache variables may also be set:

TK_WISH

The path to the wish executable.

Examples

Finding wish:

find_package(Wish)
message(STATUS "Found wish at: ${TK_WISH}")