[Cmake-commits] [cmake-commits] king committed FindRecursiveA.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 8 10:56:26 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/FindPackageTest
In directory public:/mounts/ram/cvs-serv28853/Tests/FindPackageTest

Modified Files:
	FindRecursiveA.cmake 
Log Message:
ENH: Remove implicit NO_MODULE when recursing

Recently we taught find_package that the NO_MODULE option is implied
when it is recursively invoked in a find-module.  This behavior may be
confusing because two identical calls may enter different modes
depending on context.  It also disallows the possibility that one
find-module defers to another find-module by changing CMAKE_MODULE_PATH
and recursively invoking find_package.  This change reverts the feature.


Index: FindRecursiveA.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/FindPackageTest/FindRecursiveA.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** FindRecursiveA.cmake	3 Oct 2008 14:40:06 -0000	1.1
--- FindRecursiveA.cmake	8 Oct 2008 14:56:23 -0000	1.2
***************
*** 1 ****
! FIND_PACKAGE(RecursiveA)
--- 1 ----
! FIND_PACKAGE(RecursiveA NO_MODULE)



More information about the Cmake-commits mailing list