On Friday 25 July 2008, Boris Boesler wrote: > This seems to be a FAQ > (http://www.cmake.org/pipermail/cmake/2003-May/003799.html ) but I can't > find a proper solution for cmake 2.6-patch 0. In cmake 2.4 I used > ADD_CUSTOM_TARGET() in each CMakeLists.txt file in every subdirectory where > this target should exist - no problem so far. > > In cmake 2.6-patch 0 all targets have to be globally unique.
You can disable this by setting cmake policiy CMP0002 using the new CMAKE_POLICY() command. There is a feature request for this in the bug tracker, #6348 . Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
