[CMake] syntax error on Win7 x64

Rolf Eike Beer eike at sf-mail.de
Wed Feb 1 02:33:29 EST 2012


Am Mittwoch, 1. Februar 2012, 00:02:57 schrieb Dev Guy:
> I am seeing an error from CMake on Win7 x64 that I don't see in WinXP.
> 
> The following 2 statements seems to be causing the errors below (I've
> double checked that the environment var MSSDK_ROOT exists and is
> defined).
> 
> include_directories("${ENV[MSSDK_ROOT]}\\Include")

You should use forward slashes.

> link_directories("${ENV[MSSDK_ROOT]}\\Lib")

You should not use link_directories. It's not what you are searching for.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120201/ae695b30/attachment.pgp>


More information about the CMake mailing list