Consider the following:<br><br>foo.cpp<br><br>#include &lt;iostream&gt;<br><br>int main()<br>{<br>    std::cout &lt;&lt; &quot;foo&quot; &lt;&lt; std::endl;<br>    return 0;<br>}<br><br><br>CMakeLists.txt<br><br>cmake_minimum_required(VERSION 2.6.4)<br>
<br>add_executable(foo foo.cpp)<br><br>set(BUILD_FOO ON PARENT_SCOPE)<br><br><br>With CMake built from the CMake-2-8 branch and also the head  branch of the CVS tree, the set(BUILD_FOO ON PARENT_SCOPE) crashes CMake on snow-leopard.<br>
<br>Thanks,<br><br>Steve<br>