Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

[python/cmake] use Python3_add_library() #104

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

ManifoldFR
Copy link
Member

This PR (backported from #90 by cherry-pick) switches from creating a SHARED library with add_library() with manual management of the CPython version suffix, to using the more modern python3_add_library() function from FindPython3, which creates a MODULE library (that can't be linked against, which is intended).

Copy link
Member

@nim65s nim65s left a comment

Choose a reason for hiding this comment

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

diff lgtm

@ManifoldFR ManifoldFR merged commit 4a48608 into devel Sep 4, 2024
36 of 37 checks passed
@ManifoldFR ManifoldFR deleted the topic/use-python3_add_library-module branch September 4, 2024 07:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants