diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-03-01 11:36:10 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-04-13 18:07:47 +0200 |
commit | 9cfd55e9314b9b84044e791686d8601660437372 (patch) | |
tree | bf9efaa6ba14286ec9e09b613b0e7e5d8f393e93 /CMakeLists.txt | |
parent | 53f0579ccaa55a42a8721cf26f003718c421d8ce (diff) |
Build: Replaced deprecated exec_program with execute_process
(cherry picked from commit 8eac6224c029c8384f962bb56c768ee5b9c685b9)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 40f05c5a4d6..cc306ab0ce1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,10 @@ if(POLICY CMP0144) cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case <PACKAGENAME>_ROOT variables endif() +if(POLICY CMP0153) + cmake_policy(SET CMP0153 NEW) # The exec_program() command should not be called +endif() + # Set RPATH-handing (CMake parameters) set(CMAKE_SKIP_BUILD_RPATH 0) set(CMAKE_BUILD_WITH_INSTALL_RPATH 0) |