Alexander Neundorf wrote: > With the return() in the FooTargets.cmake file, this included file will > simply do nothing, and we'll stay with the "old" imported targets and > their properties. > But the FooConfig.cmake file which has just been executed may set a bunch > of variables, which would fit to the targets which now have not been > imported, and which do not fit to the previuosly imported targets. > > Should the FooConfig.cmake fail in this case ? > Probably not.
Can you post a code snippet showing the problem? 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers