[Cmake] FindTcl.cmake : manual install support

Sebastien BARRE sebastien at barre.nom.fr
Tue May 22 10:53:04 EDT 2001


At 22/05/2001 10:39, Bill Hoffman wrote:
>At 04:19 PM 5/22/2001 +0200, Sebastien BARRE wrote:
>Why will this fail???
> >>This simple command will fail (of course) :
> >>
> >>FIND_LIBRARY(TCL_LIBRARY
> >>  ${TCL_TCLSH}/../lib
> >>  ${TK_WISTH}/../lib
> >>)

because TCL_TCLSH is a path to a program.
>FIND_PROGRAM(TCL_TCLSH
>   NAMES tclsh tclsh84 tclsh83 tclsh82 tclsh80
>)

Thus, c:\foo\barre\wish83.exe\..\lib does not work, sorry.





More information about the CMake mailing list