[Media Common] Update cmake_minimum_required to 3.5 consisently across CMakeLists#1919
Open
heitbaum wants to merge 1 commit intointel:masterfrom
Open
[Media Common] Update cmake_minimum_required to 3.5 consisently across CMakeLists#1919heitbaum wants to merge 1 commit intointel:masterfrom
heitbaum wants to merge 1 commit intointel:masterfrom
Conversation
…s CMakeLists Some of the CMakeLists.txt are already requiring CMake 3.5. Update remaining files to 3.5. This supports the compilation with cmake-4.0.0 Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
ziyao233
pushed a commit
to ziyao233/eweos-packages
that referenced
this pull request
Apr 16, 2025
Apply an under-review patch to fix compatibility with CMake 4.0. Reference: intel/media-driver#1918 Link: intel/media-driver#1919
YukariChiba
pushed a commit
to eweOS/packages
that referenced
this pull request
Apr 17, 2025
Apply an under-review patch to fix compatibility with CMake 4.0. Reference: intel/media-driver#1918 Link: intel/media-driver#1919
doanac
pushed a commit
to lmp-mirrors/meta-intel
that referenced
this pull request
Jul 9, 2025
Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1]. Set a baseline policy version for CMake using CMAKE_POLICY_VERSION_MINIMUM variable until intel-media-driver is upgraded to include the fix [2]. [1] https://patchwork.yoctoproject.org/project/oe-core/cover/20250703132720.3378569-1-Moritz.Haase@bmw.de/ [2] intel/media-driver#1919 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Contributor
Author
|
@intel-mediadev could you take a look at this PR. The main CMakeLists.txt is already 3.5. If the other CMakeLists.txt could be updated to the same. This patch is being used by a number of distributions, and it would be great if it could be incorporated upstream. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some of the CMakeLists.txt are already requiring CMake 3.5.
Update remaining files to 3.5.
This supports the compilation with cmake-4.0.0
Fixes #1918