Skip to content

[MATLAB] Consider lowering the minimum CMake version requirement for building the MATLAB interface #35221

@kevingurney

Description

@kevingurney

Describe the enhancement requested

As discussed in this comment thread, the MATLAB interface currently defines a relatively high minimum CMake version (i.e. cmake_minimum_required) of 3.20. For comparison, the C++ libraries define a minimum required CMake version of 3.5.

The minimum CMake version for the MATLAB interface was originally increased from 3.2 to 3.20 to work around some bugs in FindMatlab that were making development more challenging.

It may be worth revisiting this decision and doing a thorough investigation into whether there are any opportunities to lower the minimum required CMake version to ensure broader compatibility with older CMake versions.

This would be a good first issue for any community members who are interested in contributing to the MATLAB interface and would like to get some experience using CMake. This would involve building the interface against versions of CMake prior to 3.20 on Windows, macOS, and Linux, and seeing whether there are any issues that come up.

Component(s)

MATLAB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions