[CMake] Include path Tcl under Cygwin

Arjen Markus arjen.markus at deltares.nl
Wed Jun 26 08:23:05 EDT 2013


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".

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.

Any suggestions?

Regards,

Arjen

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.






More information about the CMake mailing list