From kde-devel Thu Oct 26 01:49:57 2023 From: =?UTF-8?B?w5ZtZXIgRmFkxLFsIFVTVEE=?= Date: Thu, 26 Oct 2023 01:49:57 +0000 To: kde-devel Subject: We need to remove exec_program() from our Cmake files Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=169828487728053 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--0000000000001810b7060894ccae" --0000000000001810b7060894ccae Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 ). And from a quick search for our repo ( with ripgrep) I have seen that we got at least 18 repo using that execure_program(...) CMake Release Notes : https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed= -features ``` The exec_program() command, which has been deprecated since CMake 3.0, has been removed by policy CMP0153 . Use the execute_process() command instead. ``` [Sorry for cross post to kde-devel and kde-core-devel ] =C3=96mer Fad=C4=B1l Usta PGP key : 0xfd11561976b1690b about.me/omerusta --0000000000001810b7060894ccae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
We need to hurry to remove exec_program(....) from ou= r 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 ).=E2=80=A8
And from a quick search for our repo ( with = ripgrep) I have seen that we got at least 18 repo using that execure_progra= m(...)


```
The exec_program() command, which has been deprecated since CMake 3.0, has been removed by policy CMP0153. Use the execute_process() command instead.
```


[Sorry for cross post to= kde-devel and kde-core-devel ]

=C3=96mer Fad=C4=B1l U= sta
PGP key : 0xfd11561976b1690b
about.me/omerusta
--0000000000001810b7060894ccae--