The warning offers a lot of information on how to disable but is it really
intended to get the following warning by default?

----------
CMake Warning (dev) at cmake/Definitions.cmake:51 (ADD_DEFINITIONS):
  Policy CMP0005 is not set: Preprocessor definition values are now escaped
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:126 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.
----------

If I understand the new policies correctly it should rather apply the policy
by default and allow to set it to OLD for compatibility reasons.

-Dieter

_______________________________________________
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

Reply via email to