summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/FindRecursiveA.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-10-08 14:56:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-10-08 14:56:23 (GMT)
commit25a5c34a62c50d4dc873c04d0896e3ba3e234f56 (patch)
tree54229ee90a4e37152ab561e6b66285b9afb5c3f9 /Tests/FindPackageTest/FindRecursiveA.cmake
parenta5695eb7ac9649b76c9946f2dee51eb0f21a9eac (diff)
downloadCMake-25a5c34a62c50d4dc873c04d0896e3ba3e234f56.zip
CMake-25a5c34a62c50d4dc873c04d0896e3ba3e234f56.tar.gz
CMake-25a5c34a62c50d4dc873c04d0896e3ba3e234f56.tar.bz2
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.
Diffstat (limited to 'Tests/FindPackageTest/FindRecursiveA.cmake')
-rw-r--r--Tests/FindPackageTest/FindRecursiveA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPackageTest/FindRecursiveA.cmake b/Tests/FindPackageTest/FindRecursiveA.cmake
index 17d6871..3af7e99 100644
--- a/Tests/FindPackageTest/FindRecursiveA.cmake
+++ b/Tests/FindPackageTest/FindRecursiveA.cmake
@@ -1 +1 @@
-FIND_PACKAGE(RecursiveA)
+FIND_PACKAGE(RecursiveA NO_MODULE)