On 03/26/2013 01:35 PM, Matthew Woehlke wrote:
>> This should probably be
>> include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
> 
> ...or 'include("${CMAKE_ROOT}/Modules/CMakeParseArguments.cmake")'?
> 
> *Most* of the find modules appear to use CMAKE_CURRENT_LIST_DIR, but 
> there are some (not necessarily find-package) modules that use 
> CMAKE_ROOT, and some (mostly non-find) that rely on CMAKE_MODULE_PATH.

We switched to CMAKE_CURRENT_LIST_DIR some time ago.

Fixed:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78b46403

I'll squash that in to the final version before merging to master and
then rebase the rest of your topic on it.

-Brad
--

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

Reply via email to