From f7f7460d851f4df753028d16b8676f4fa324aa59 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Fri, 23 Sep 2022 15:54:38 +0200 Subject: [PATCH] cmake: Fix README.md --- cmake/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/README.md b/cmake/README.md index a98a0fe2b0..d36193d844 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -279,7 +279,7 @@ Note: The **ortools::ortools** target is in this case an ALIAS library target for the **ortools** library target. ```cmake -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.18) project(myproj VERSION 1.0) add_subdirectory(or-tools) @@ -293,13 +293,13 @@ added automatically to your target as needed. #### Using FetchContent -If you have `CMake >= 3.14.7` you can use the built-in module +If you have `CMake >= 3.18` you can use the built-in module [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html) instead. Note: The **ortools::ortools** target is in this case an ALIAS library target for the **ortools** library target. ```cmake -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.18) project(myproj VERSION 1.0 LANGUAGES CXX) include(FetchContent)