Ah, you introduced a space after the "NOT" to silence the warning.
I'm not sure why it is picky about that space not being there.

Unintentionally. I never even saw the warning text locally.

The text comes from this commit, which was rewritten and merged in very recently.

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b2ac3463b5ef5dfd3fc662c12aaaacdd177e5dc1

git says it's only in 'next' and 'nightly' so far:

   user@computer /c/n/d/cmake (nightly)
   $ git branch -a --contains b2ac3463b5ef5dfd3fc662c12aaaacdd177e5dc1
   * nightly
     remotes/origin/next
     remotes/origin/nightly

The commit message explains the rationale. Not sure if Brad is aware the warning can be triggered by parenthesized expressions in the if command... Brad?


D

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to