[CMake] Include path Tcl under Cygwin

marco atzeri marco.atzeri at gmail.com
Wed Jun 26 08:40:41 EDT 2013


Il 6/26/2013 2:23 PM, Arjen Markus ha scritto:
> Hello,
>
> for the PLplot project I am looking for the solution of a
> problem that occurs under Cygwin:
> The FindTcl module returns the path for the include files
> as "c:/tcl/include".

I assume you are not using the cygwin tcl ..
as the package contebt and location is reported here

http://cygwin.com/packages/tcl/tcl-8.5.11-1

> This is fine under Windows and MinGW/MSYS, but it causes a
> problem under Cygwin: the colon interfers with the syntax
> of a Makefile. My guess is that this problem will occur
> with other packages too.
>
> So I am looking for a way to turn the path "c:/xxx" to
> "/cygdrive/c/xxx", but since the prefix "/cygdrive/" may be
> installation dependent, a mere replacement seems risky.

man cygpath

>
> Any suggestions?
>
> Regards,
>
> Arjen

Regards
Marco




More information about the CMake mailing list