[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: We need to remove exec_program() from our Cmake files
From: David Redondo <kde () david-redondo ! de>
Date: 2023-10-26 6:57:36
Message-ID: 77206989.1kiA0p1rr1 () david-desktop
[Download RAW message or body]
Am Donnerstag, 26. Oktober 2023, 03:49:57 CEST schrieb Ömer Fadıl USTA:
>
> ```
> The exec_program()
> <https://cmake.org/cmake/help/v3.28/command/exec_program.html#command:exec_p
> rogram> 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:exe
> cute_process> command instead.
> ```
This is behind a policy so if we don't have
cmake_minimum_required(VERSION 3.28)
in my understanding we can continue to call it for now and not have to rush
though it.
Otherwise we would have to change things every time a policy changes behavior.
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic