Skip to content

fix: Update minimum CMake version to 3.16#375

Merged
liulx20 merged 7 commits into
alibaba:mainfrom
liulx20:liulx20-patch-2
May 21, 2026
Merged

fix: Update minimum CMake version to 3.16#375
liulx20 merged 7 commits into
alibaba:mainfrom
liulx20:liulx20-patch-2

Conversation

@liulx20
Copy link
Copy Markdown
Collaborator

@liulx20 liulx20 commented May 19, 2026

Fixes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the project’s declared minimum required CMake version to 3.20 to match newer CMake feature/behavior expectations.

Changes:

  • Bumps cmake_minimum_required from 3.10 to 3.20.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CMakeLists.txt Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
liulx20 added 2 commits May 20, 2026 15:24
Updated minimum required CMake version from 3.20 to 3.16 and added checks for target type to handle interface libraries.
@liulx20 liulx20 requested a review from Copilot May 20, 2026 07:24
@liulx20 liulx20 changed the title fix: Update minimum CMake version to 3.20 fix: Update minimum CMake version to 3.16 May 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread CMakeLists.txt
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.10)
cmake_minimum_required(VERSION 3.16)
@liulx20 liulx20 requested a review from zhanglei1949 May 21, 2026 02:45
Copy link
Copy Markdown
Member

@zhanglei1949 zhanglei1949 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@liulx20 liulx20 merged commit a5c3698 into alibaba:main May 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Build fails on CMake 3.16 (Ubuntu 20.04): INTERFACE_LIBRARY cannot read SOURCE_DIR property

3 participants