summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Help/policy/CMP0051.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/policy/CMP0051.rst b/Help/policy/CMP0051.rst
index 7d85929..1b56cb0 100644
--- a/Help/policy/CMP0051.rst
+++ b/Help/policy/CMP0051.rst
@@ -10,7 +10,7 @@ returning the :prop_tgt:`SOURCES` target property.
Configure-time CMake code is not able to handle generator expressions. If
using the :prop_tgt:`SOURCES` target property at configure time, it may be
necessary to first remove generator expressions using the
-:command:`string(STRIP_GENEX)` command. Generate-time CMake code such as
+:command:`string(GENEX_STRIP)` command. Generate-time CMake code such as
:command:`file(GENERATE)` can handle the content without stripping.
The ``OLD`` behavior for this policy is to omit ``TARGET_OBJECTS``