Skip to content

fix(python): Fix bug of "can't find Python.h in some linux distros"#71

Merged
Makiras merged 1 commit intomasterfrom
fix_python
Dec 22, 2025
Merged

fix(python): Fix bug of "can't find Python.h in some linux distros"#71
Makiras merged 1 commit intomasterfrom
fix_python

Conversation

@FrankOu2001
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 13:28
@FrankOu2001 FrankOu2001 added the bug Something isn't working label Dec 19, 2025
@FrankOu2001 FrankOu2001 requested a review from Makiras December 19, 2025 13:28
Copy link
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

This PR fixes a bug where Python.h cannot be found in some Linux distributions by correcting the CMake variable name used for Python include directories.

  • Changed ${Python_INCLUDE_DIRS} to ${Python3_INCLUDE_DIRS} to align with the CMake find_package(Python3 ...) command

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

@Makiras Makiras merged commit 203d3d8 into master Dec 22, 2025
18 checks passed
@FrankOu2001 FrankOu2001 deleted the fix_python branch December 22, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants