There&#39;s already a but for it: <a href="http://www.cmake.org/Bug/bug.php?op=show&amp;bugid=5096">http://www.cmake.org/Bug/bug.php?op=show&amp;bugid=5096</a>