piglit: 43c3d2ab0c44ed53baeebd2ca568922bb34b835a (master) $ cmake -DPIGLIT_USE_WAFFLE=0 . CMake Error at CMakeLists.txt:2 (cmake_policy): Policy "CMP0022" is not known to this version of CMake. commit 43c3d2ab0c44ed53baeebd2ca568922bb34b835a Author: Dylan Baker <baker.dylan.c@gmail.com> Date: Sat Dec 28 03:02:53 2013 -0800 cmake: Suppress warning on cmake 2.8.12+ cmake 2.8.12 Introduced a new policy (CMP0022). Because there are two policy options and piglit doesn't explicitly ask for one it defaults to the OLD setting, but spews warnings. By setting OLD explicitly this warning goes away. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
I have reverted the offending commit. 43c3d2a..d6a1345 master -> master
Dylan, is possible to query the CMake version, and apply CMP0022 only for CMake >= 2.8.12?
(In reply to comment #2) > Dylan, is possible to query the CMake version, and apply CMP0022 only for > CMake >= 2.8.12? I'm failing to parse that sentence. Is it a question or a statment missing the critical 'it'?
(In reply to comment #3) > I'm failing to parse that sentence. Is it a question or a statment missing > the critical 'it'? Oops. It's a question. Dylan, is it possible to query the CMake version, and apply CMP0022 only if the version is >= 2.8.12?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.