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
wishexecutable was found.
Cache Variables
The following cache variables may also be set:
-
TK_WISH -
The path to the
wishexecutable.
Examples
Finding wish:
find_package(Wish)
message(STATUS "Found wish at: ${TK_WISH}")
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/module/FindWish.html