mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
FindTclsh: Drop Cygwin-specific behavior and use POSIX code path
Based on downstream patch from Cygwin package for CMake by Marco Atzeri:
* 64864eb8f0/cmake/3.17.3-findtclsh.patch
This commit is contained in:
committed by
Brad King
parent
af666acdf4
commit
ecc1961768
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user