-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise the minimum CMake version to 3.10 #2523
Conversation
This reverts commit 47d56f2.
Codecov Report
@@ Coverage Diff @@
## devel #2523 +/- ##
==========================================
+ Coverage 91.54% 91.56% +0.02%
==========================================
Files 183 183
Lines 7562 7560 -2
==========================================
Hits 6922 6922
+ Misses 640 638 -2 |
No, thanks. When I have time for Catch2 again, I am going to instead bump up the minimum required version of CMake. |
Which version of Cmake do you want? My intention was to clean the file of two calls to |
This patch does two things:
|
Do you have good reason for wanting to bump it up to 3.8 specifically? I looked at default packages in LTS ubuntu as a benchmark, bionic has 3.10.2, focal 3.16.3. Based on this I would target 3.16 on my own, but I am willing to hear arguments for other versions. The cleanup makes sense, if it is still needed after the bump. I did the fastest thing I could when making the change. |
Well, I will list useful features that can be used.
Personally, I'd bump it to 3.8 now, 3.10 in couple of months and I'd go above 3.10 when Ubuntu 18.04 goes out of support (precisely, in Extended Security Maintenance). |
Ok, I am willing to keep it at 3.10 for now. |
I changed the PR so it raises the CMake minimum version to 3.10, and also it cleans the calls to |
Thanks. |
The CMake file states 3.5 as minimal version, but 3.8 was actually minimal, see patch 47d56f2. Before that patch 3.9 was needed. This patch really fixes compatibility with 3.5.