-
Notifications
You must be signed in to change notification settings - Fork 269
Bump minimum cmake version to 3.12 #2418
Copy link
Copy link
Closed
Labels
Type: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements
Description
Newer versions of cmake warn if CMP0075 isn't enabled. We need at least cmake version 3.12 to enable it, though, and our minimum version is currently 3.2.
3.12 also introduced the ability to set a max version in cmake_policy, which is probably a good idea. i.e. I think we'll want cmake_policy(VERSION 3.12..3.12) so that we opt into exactly the set of policies/features that were available at our minimum cmake version.
This is currently blocked on dropping support for ubuntu 18.04, which isn't EOL until 2023. https://endoflife.software/operating-systems/linux/ubuntu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements