FindWish.cmake 543 B

12345678910111213141516171819202122
  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. # if UNIX is defined, then look for the cygwin version first
  9. IF(UNIX)
  10. FIND_PROGRAM(TK_WISH cygwish80 )
  11. ENDIF(UNIX)
  12. FIND_PROGRAM(TK_WISH
  13. NAMES wish wish84 wish8.4 wish83 wish8.3 wish82 wish8.2 wish80
  14. )
  15. IF (WIN32)
  16. MARK_AS_ADVANCED(
  17. TK_WISH
  18. )
  19. ENDIF(WIN32)