We need to remove exec_program() from our Cmake files

Johnny Jazeix jazeix at gmail.com
Thu Oct 26 06:27:54 BST 2023


Hi,

for the list:
https://lxr.kde.org/search?%21v=kf5-qt5&_filestring=&_string=exec_program&_casesensitive=1

Cheers,
Johnny

Le jeu. 26 oct. 2023 à 05:10, Ömer Fadıl USTA <omerusta at gmail.com> a écrit :

> 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()
> <https://cmake.org/cmake/help/v3.28/command/exec_program.html#command:exec_program>
> command, which has been deprecated since CMake 3.0, has been removed by
> policy CMP0153
> <https://cmake.org/cmake/help/v3.28/policy/CMP0153.html#policy:CMP0153>.
> Use the execute_process()
> <https://cmake.org/cmake/help/v3.28/command/execute_process.html#command:execute_process>
> command instead.
> ```
>
>
> [Sorry for cross post to kde-devel and kde-core-devel ]
>
> Ömer Fadıl Usta
> PGP key : 0xfd11561976b1690b
> about.me/omerusta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20231026/73cc57d0/attachment.htm>


More information about the kde-core-devel mailing list