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")
link_directories("${ENV[MSSDK_ROOT]}\\Lib")
==== CMake Error =======
CMake Warning (dev) at CMakeLists.txt:9 (include_directories):
Syntax error in cmake code at
C:/dev/cpp/Project/safetynet/MonitorTestClient/CMakeLists.txt:9
when parsing string
${ENV[MSSDK_ROOT]}\\Include
syntax error, unexpected cal_SYMBOL, expecting } (18)
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:10 (link_directories):
Syntax error in cmake code at
C:/dev/cpp/Project/safetynet/MonitorTestClient/CMakeLists.txt:10
when parsing string
${ENV[MSSDK_ROOT]}\\Lib
syntax error, unexpected cal_SYMBOL, expecting } (18)
--
Kind Regards,
Rajinder Yadav
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake