Skip to content

Commit 5f2c96c

Browse files
verriclaude
andcommitted
Update CMake version requirement to 3.14+
FetchContent_MakeAvailable requires CMake 3.14+. Updated all documentation and CI workflows to use the correct minimum version. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 516ebdf commit 5f2c96c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup CMake
2222
uses: jwlawson/actions-setup-cmake@v2
2323
with:
24-
cmake-version: '3.11'
24+
cmake-version: '3.14'
2525

2626
- name: Configure CMake
2727
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup CMake
1616
uses: jwlawson/actions-setup-cmake@v2
1717
with:
18-
cmake-version: '3.11'
18+
cmake-version: '3.14'
1919

2020
- name: Test all C++ standards
2121
run: |
@@ -67,6 +67,6 @@ jobs:
6767
## Compatibility
6868
- Supports C++11 through C++23
6969
- Header-only library
70-
- Requires CMake 3.11+
70+
- Requires CMake 3.14+
7171
draft: false
7272
prerelease: false

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.11)
1+
cmake_minimum_required(VERSION 3.14)
22
project(Cool VERSION 1.0.0)
33

44
configure_file("include/cool/version.hpp.in" "include/cool/version.hpp")

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $ git clone https://github.com/verri/cool.git
6161
$ cd cool
6262
```
6363

64-
Install via CMake 3.11+.
64+
Install via CMake 3.14+.
6565
```
6666
$ cmake -S. -Bbuild
6767
$ cmake --build build
@@ -74,7 +74,7 @@ $ cmake --install build
7474
Some headers, however, use threads, e.g. `channel` and `thread_pool`.
7575
Thus, you will probably need to link a thread library as well.
7676

77-
## Recommended: CMake 3.11+
77+
## Recommended: CMake 3.14+
7878

7979
If you installed the library as a submodule, include the following line in your `CMakeLists.txt`
8080
```

0 commit comments

Comments
 (0)