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

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Nov 3 04:31:06 EST 2009


You are using a /very/ ancient CVS HEAD ;)

It was fixed yesterday

On Tue, Nov 3, 2009 at 2:09 AM, Steven Wilson
<steven.wesley.wilson at gmail.com> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Mathieu


More information about the CMake mailing list