diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-10-27 13:43:18 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-10-27 13:43:18 (GMT) |
commit | d3cc815c989a8f1ddaf8639dc80b9f12350a87c7 (patch) | |
tree | 42c2787faa3d9f4c05fc03fb9d370b14142274a7 /Source/cmCommands.cxx | |
parent | 8313d261984a372078576296385c349cac2168c5 (diff) | |
download | CMake-d3cc815c989a8f1ddaf8639dc80b9f12350a87c7.zip CMake-d3cc815c989a8f1ddaf8639dc80b9f12350a87c7.tar.gz CMake-d3cc815c989a8f1ddaf8639dc80b9f12350a87c7.tar.bz2 |
CMP0153: Add suggestion to use execute_process()
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 2ee4f47..91f7691 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -219,9 +219,11 @@ void GetScriptingCommands(cmState* state) state->AddDisallowedCommand( "use_mangled_mesa", cmUseMangledMesaCommand, cmPolicies::CMP0030, "The use_mangled_mesa command should not be called; see CMP0030."); - state->AddDisallowedCommand( - "exec_program", cmExecProgramCommand, cmPolicies::CMP0153, - "The exec_program command should not be called; see CMP0153."); + state->AddDisallowedCommand("exec_program", cmExecProgramCommand, + cmPolicies::CMP0153, + "The exec_program command should not be called; " + "see CMP0153. Use execute_process() instead.", + "Use execute_process() instead."); #endif } |