summaryrefslogtreecommitdiffstats
path: root/Modules/readme.txt
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-19 13:00:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-19 13:00:51 (GMT)
commitc7770b8edbff442267563bd3036cef8fdb0cc4a9 (patch)
tree1c73f377e04981e72043a9ac5fff8fef0eca343b /Modules/readme.txt
parentb6b1ebe2950e2437fffd4eecbe3f1992fc63e812 (diff)
downloadCMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.zip
CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.gz
CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.bz2
ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the
not-too-complicated modules -remove unnecessary default search paths used in the FIND_XXX() calls Alex
Diffstat (limited to 'Modules/readme.txt')
-rw-r--r--Modules/readme.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Modules/readme.txt b/Modules/readme.txt
index 2e63011..632c054 100644
--- a/Modules/readme.txt
+++ b/Modules/readme.txt
@@ -53,7 +53,7 @@ For example:
#
# It even needs to paragraphs to tell you about it.
# And it defines the following variables:
-# VAR_COOL - this is greate isn't it?
+# VAR_COOL - this is great isn't it?
# VAR_REALLY_COOL - cool right?
#
@@ -68,7 +68,7 @@ A FindXXX.cmake module will typically be loaded by the command
If the QUIET option is given to the command it will set the variable
XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module. If
this variable is set the module should not complain about not being
-able to find the package and should never issue a FATAL_ERROR. If the
+able to find the package. If the
REQUIRED option is given to the command it will set the variable
XXX_FIND_REQUIRED to true before loading the FindXXX.cmake module. If
this variable is set the module should issue a FATAL_ERROR if the
@@ -80,3 +80,6 @@ module to determine which sub-components of the package must be found.
If neither the QUIET nor REQUIRED options are given then the
FindXXX.cmake module should look for the package and complain without
error if the module is not found.
+
+To get this behaviour you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS()
+macro, as an example see FindJPEG.cmake.