Skip to content

[Bug]: Build with cmake-4.0.0 fails #1918

Open
@heitbaum

Description

@heitbaum

Which component impacted?

Build

Is it regression? Good in old configuration?

None

What happened?

Build with cmake-4.0.0

CMake Error at os_release_info.cmake:32 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Call Stack (most recent call first):
  CMakeLists.txt:30 (include)

What's the usage scenario when you are seeing the problem?

Others

What impacted?

Build of media-driver

Debug Information

No response

Do you want to contribute a patch to fix the issue?

Yes, I'm glad to submit a patch to fix it

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions