summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index 9343a63..1b0c2ff 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -77,7 +77,7 @@ public:
" [NO_HEX_CONVERSION])\n"
" file(GLOB variable [RELATIVE path] [globbing expressions]...)\n"
" file(GLOB_RECURSE variable [RELATIVE path] \n"
- " [RECURSE_SYMLINKS_OFF] [globbing expressions]...)\n"
+ " [FOLLOW_SYMLINKS] [globbing expressions]...)\n"
" file(REMOVE [file1 ...])\n"
" file(REMOVE_RECURSE [file1 ...])\n"
" file(MAKE_DIRECTORY [directory1 directory2 ...])\n"
@@ -124,11 +124,11 @@ public:
" *.cxx - match all files with extension cxx\n"
" *.vt? - match all files with extension vta,...,vtz\n"
" f[3-5].txt - match files f3.txt, f4.txt, f5.txt\n"
- "GLOB_RECURSE will generate similar list as the regular GLOB, except "
+ "GLOB_RECURSE will generate a list similar to the regular GLOB, except "
"it will traverse all the subdirectories of the matched directory and "
- "match the files. Subdirectories that are symlinks are traversed by "
- "default to match the behavior of older CMake releases. Use "
- "RECURSE_SYMLINKS_OFF to prevent recursion through symlinks.\n"
+ "match the files. Subdirectories that are symlinks are only traversed "
+ "if FOLLOW_SYMLINKS is given or cmake policy CMP0009 is not set to NEW. "
+ "See cmake --help-policy CMP0009 for more information.\n"
"Examples of recursive globbing include:\n"
" /dir/*.py - match all python files in /dir and subdirectories\n"
"MAKE_DIRECTORY will create the given directories, also if their parent "