From 0b5bf8ad0b55431969aadb94d6563f1b9c6cf2e6 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 6 Jan 2014 16:35:31 +0100 Subject: [PATCH] Help: Mention CMAKE_DISABLE_FIND_PACKAGE_ in package docs. --- Help/manual/cmake-packages.7.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst index 376ec783a..3eda8291b 100644 --- a/Help/manual/cmake-packages.7.rst +++ b/Help/manual/cmake-packages.7.rst @@ -72,6 +72,10 @@ or as a separate ``OPTIONAL_COMPONENTS`` list: Handling of ``COMPONENTS`` and ``OPTIONAL_COMPONENTS`` is defined by the package. +By setting the :variable:`CMAKE_DISABLE_FIND_PACKAGE_` variable to +``TRUE``, the ``PackageName`` package will not be searched, and will always +be ``NOTFOUND``. + Config-file Packages --------------------