From 42e3414d5f2747f155148132d63d92aa0ec7e1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Omn=C3=A8s?= <26088210+flomnes@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:56:23 +0100 Subject: [PATCH] [CMAKE] Required version 3.18 -> 3.20 (#4155) ``` elseif(UNIX) cmake_path(RELATIVE_PATH CMAKE_INSTALL_FULL_LIBDIR BASE_DIRECTORY ${CMAKE_INSTALL_FULL_BINDIR} OUTPUT_VARIABLE libdir_relative_path) set_target_properties(solve PROPERTIES INSTALL_RPATH "$ORIGIN/${libdir_relative_path}") endif() ``` `cmake_path` was added in CMake 3.20, see https://cmake.org/cmake/help/latest/command/cmake_path.html --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f254ba579..49a996ba4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ # limitations under the License. # This file is just an orchestration -cmake_minimum_required(VERSION 3.18) +cmake_minimum_required(VERSION 3.20) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") include(utils)