[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
This commit is contained in:
Florian Omnès
2024-03-25 13:56:23 +01:00
committed by Corentin Le Molgat
parent 8f85d85be8
commit 42e3414d5f

View File

@@ -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)