diff options
author | Lemures Lemniscati <lemures.lemniscati@gmail.com> | 2020-08-01 12:21:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-06 16:37:16 (GMT) |
commit | ecc19617686f29429e9b4dd10ff2bbc8e8572d5e (patch) | |
tree | 2ea665057a5fc808afa4c50afae55909d5f0b97d /Modules/FindTclsh.cmake | |
parent | af666acdf4a73323c750f2332c35e38f5b8f4cea (diff) | |
download | CMake-ecc19617686f29429e9b4dd10ff2bbc8e8572d5e.zip CMake-ecc19617686f29429e9b4dd10ff2bbc8e8572d5e.tar.gz CMake-ecc19617686f29429e9b4dd10ff2bbc8e8572d5e.tar.bz2 |
FindTclsh: Drop Cygwin-specific behavior and use POSIX code path
Based on downstream patch from Cygwin package for CMake by Marco Atzeri:
* https://github.com/matzeri/cygwin-pkg/blob/64864eb8f0d635ea44226e4b9a41a7ca59a1c7dd/cmake/3.17.3-findtclsh.patch
Diffstat (limited to 'Modules/FindTclsh.cmake')
-rw-r--r-- | Modules/FindTclsh.cmake | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/FindTclsh.cmake b/Modules/FindTclsh.cmake index 82be473..f306d5b 100644 --- a/Modules/FindTclsh.cmake +++ b/Modules/FindTclsh.cmake @@ -15,15 +15,8 @@ library is. This code sets the following variables: TCLSH_FOUND = TRUE if tclsh has been found TCL_TCLSH = the path to the tclsh executable - -In cygwin, look for the cygwin version first. Don't look for it later -to avoid finding the cygwin version on a Win32 build. #]=======================================================================] -if(CYGWIN) - find_program(TCL_TCLSH NAMES cygtclsh83 cygtclsh80) -endif() - get_filename_component(TK_WISH_PATH "${TK_WISH}" PATH) get_filename_component(TK_WISH_PATH_PARENT "${TK_WISH_PATH}" PATH) string(REGEX REPLACE |