From 9e62ac0b400c5aff953b74c8f8187ba9f4f71969 Mon Sep 17 00:00:00 2001 From: David Cole Date: Wed, 25 Aug 2010 15:23:18 -0400 Subject: [PATCH] Improve documentation of OPTION command. Point via see also phrasing to the CMakeDependentOption module. --- Source/cmOptionCommand.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h index 8670fc420..fa5abd87c 100644 --- a/Source/cmOptionCommand.h +++ b/Source/cmOptionCommand.h @@ -59,7 +59,10 @@ public: " option( \"help string describing option\"\n" " [initial value])\n" "Provide an option for the user to select as ON or OFF. If no " - "initial value is provided, OFF is used."; + "initial value is provided, OFF is used.\n" + "If you have options that depend on the values of other " + "options, see the module help for CMakeDependentOption." + ; } /**