[CMake] Bug in 2.8 branch (Head branch also)

Steven Wilson steven.wesley.wilson at gmail.com
Mon Nov 2 20:09:02 EST 2009


Consider the following:

foo.cpp

#include <iostream>

int main()
{
    std::cout << "foo" << std::endl;
    return 0;
}


CMakeLists.txt

cmake_minimum_required(VERSION 2.6.4)

add_executable(foo foo.cpp)

set(BUILD_FOO ON PARENT_SCOPE)


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.

Thanks,

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091102/1114638e/attachment.htm>


More information about the CMake mailing list