Skip to content

Commit fc669e0

Browse files
committed
Set CMake version requirement to 3.20 to match our CMakeLists.txt
1 parent 502d608 commit fc669e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/docs/LibClang.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Code example
6161
.. code-block:: cmake
6262
6363
# CMakeLists.txt
64-
cmake_minimum_required(VERSION 3.30)
64+
cmake_minimum_required(VERSION 3.20)
6565
project(my_clang_tool VERSION 0.1.0)
6666
6767
find_package(Clang CONFIG REQUIRED)
@@ -373,7 +373,7 @@ Complete example code
373373
.. code-block:: cmake
374374
375375
# CMakeLists.txt
376-
cmake_minimum_required(VERSION 3.30)
376+
cmake_minimum_required(VERSION 3.20)
377377
project(my_clang_tool VERSION 0.1.0)
378378
379379
find_package(Clang CONFIG REQUIRED)

0 commit comments

Comments
 (0)