<div dir="ltr"><div>We need to hurry to remove exec_program(....) from our cmake files because It will be removed with the upcoming CMake's 3.28.0 version which is really near to release. ( Just 2 hours ago its rc3 was released ).
</div><div>And from a quick search for our repo ( with ripgrep) I have seen that we got at least 18 repo using that execure_program(...)</div><div><br></div><div>CMake Release Notes : <a href="https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed-features">https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed-features</a></div><div><br></div><div>```</div><div>The <span class="gmail-target" id="gmail-index-0-command:exec_program"></span><a class="gmail-reference gmail-internal" href="https://cmake.org/cmake/help/v3.28/command/exec_program.html#command:exec_program" title="exec_program"><code class="gmail-xref gmail-cmake gmail-cmake-command gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">exec_program()</span></code></a> command, which has been deprecated
since CMake 3.0, has been removed by policy <span class="gmail-target" id="gmail-index-0-policy:CMP0153"></span><a class="gmail-reference gmail-internal" href="https://cmake.org/cmake/help/v3.28/policy/CMP0153.html#policy:CMP0153" title="CMP0153"><code class="gmail-xref gmail-cmake gmail-cmake-policy gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">CMP0153</span></code></a>.
Use the <span class="gmail-target" id="gmail-index-0-command:execute_process"></span><a class="gmail-reference gmail-internal" href="https://cmake.org/cmake/help/v3.28/command/execute_process.html#command:execute_process" title="execute_process"><code class="gmail-xref gmail-cmake gmail-cmake-command gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">execute_process()</span></code></a> command instead.</div><div>```<br></div><div><br></div><div><br></div><div>[Sorry for cross post to kde-devel and kde-core-devel ]<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>Ömer Fadıl Usta<br>PGP key : 0xfd11561976b1690b<br><a href="http://about.me/omerusta" target="_blank">about.me/omerusta</a><br></div></div></div>