On 09/30/2010 04:25 PM, Alexander Neundorf wrote:
> New behaviour: the file from shared/cmake/Modules/ is loaded, i.e. the file 
> with which file A was developed and tested, and not a different file provided 
> by a user project. This would fix the problem currently in KDE.

Dave Cole and I just talked about this.  We think this will be a subtle
behavioral distinction that could lead to surprising behaviors.  It may
also be tricky to implement because there are several ways that modules
can be included (enable_language, find_package, include, etc.).

Since this approach only affects CMake files that are distributed with
CMake we can simply edit them.  I think your AddCMAKE_CURRENT_LIST_DIR
topic looks good.

-Brad
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to