-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
deps: Update cmake_minimum_required to 2.8.12 #3816
Conversation
Edited into the original comment, regarding ftl-sdk: @rsiv Is YouNow planning to continue using FTL and the ftl-sdk? Does YouNow have any interest in forking ftl-sdk to continue maintaining it? |
Hey @RytoEX |
@rsiv |
@RytoEX |
I have left the following comment in the developer discussion with the Glimesh folk, I'm going to leave it here, so you can see it, too:
|
Given that CMake recently broke configs using explicit LANGUAGE flags, I am not keen to simply ignore their warning that "Compatibility with CMake < 2.8.12 will be removed from a future version of CMake." The CMake devs have made clear that they are willing to break builds that rely on deprecated functionality or functionality being used outside of their designed use case. Furthermore, warning spam can drown out actually useful warnings, so we have an incentive to correct warnings when possible, rather than simply suppress or ignore them. I don't think I'm going to change my mind on whether or not we should make this change where we can. I made the changes to all subprojects we control. When the matter of one we didn't (ftl-sdk and its subprojects/dependencies) came up, I discussed with the team and we decided that the best thing to do would be to reach out to YouNow about it, given that they were, at the time, the only known service still using or planning to use FTL. As mentioned on #3834, this also revived an internal discussion about whether to maintain or drop FTL support, which has briefly been discussed on that PR. |
Please direct further FTL discussion here: #4021 |
Description
Bump CMake minimum version required to 2.8.12 for all subprojects.
Motivation and Context
CMake 3.19 has begun emitting a deprecation warning that support for CMake 2.8.12 will be dropped in a future CMake release.
Warnings are bad.
The lowest minimum any subproject supported before this was 2.8, so bumping a patch version number shouldn't cause issues. Also, the OBS root CMakeLists.txt requires CMake 3.10, and 3.16 on Windows, so having the lower 2.x versions on the subprojects probably doesn't make much sense anyway, but I wanted to make a minimal change.
The only subproject I haven't updated is ftl-sdk because it's a git submodule. At some point, if we don't address this issue in ftl-sdk, the CMake support for compatibility with older than 2.8.12 will be removed. It's unclear if that means CMake will refuse to configure such projects, or if they just won't guarantee compatibility.
Currently, only YouNow is using the ftl-sdk as Mixer no longer exists and Restream dropped FTL support when Mixer went down.
How Has This Been Tested?
I built OBS on Windows 10 64-bit 2004 (Build 19041.630) before and after these changes. I noted the presence of the warning before and its absence after. I ran a quick recording session after to ensure that OBS worked as expected.
Types of changes
Checklist: