[Cmake-commits] [cmake-commits] king committed FindTclsh.cmake 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 13 12:57:40 EST 2010


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv27366/Modules

Modified Files:
	FindTclsh.cmake 
Log Message:
Use if(CYGWIN) instead of if(WIN32 AND UNIX)

CMake has defined CYGWIN on Cygwin for years, so we no longer need the
legacy form of the test.  Change based on patch from issue #10122.


Index: FindTclsh.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindTclsh.cmake,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** FindTclsh.cmake	28 Sep 2009 15:45:49 -0000	1.25
--- FindTclsh.cmake	13 Jan 2010 17:57:34 -0000	1.26
***************
*** 21,27 ****
  #  License text for the above reference.)
  
! IF(WIN32 AND UNIX)
    FIND_PROGRAM(TCL_TCLSH NAMES cygtclsh83 cygtclsh80)
! ENDIF(WIN32 AND UNIX)
  
  GET_FILENAME_COMPONENT(TK_WISH_PATH "${TK_WISH}" PATH)
--- 21,27 ----
  #  License text for the above reference.)
  
! IF(CYGWIN)
    FIND_PROGRAM(TCL_TCLSH NAMES cygtclsh83 cygtclsh80)
! ENDIF(CYGWIN)
  
  GET_FILENAME_COMPONENT(TK_WISH_PATH "${TK_WISH}" PATH)



More information about the Cmake-commits mailing list