Skip to content

Set CMAKE_POSITION_INDEPENDENT_CODE before add_subdirectory(src) - #513

Merged
SimonRohou merged 1 commit into
codac-team:codac2_devfrom
Jordan08:dev-clean-v2-41
Oct 9, 2026
Merged

SimonRohou merged 1 commit into
codac-team:codac2_devfrom
Jordan08:dev-clean-v2-41

Conversation

@Jordan08

Copy link
Copy Markdown
Contributor

CMAKE_POSITION_INDEPENDENT_CODE était fixé après add_subdirectory(src) : les bibliothèques statiques liées dans les modules Python n'étaient pas compilées en -fPIC, d'où le -DCMAKE_CXX_FLAGS=-fPIC passé à la main dans la CI, les scripts et le manuel. Il est maintenant fixé avant, pour toutes les cibles de src/.

PR 41/64 de la série dev-clean-v2 (ordre et dépendances : #471). Indépendante : basée directement sur codac2, elle peut être mergée à tout moment.

@SimonRohou
SimonRohou changed the base branch from codac2 to codac2_dev October 9, 2026 16:23
@SimonRohou
SimonRohou merged commit dc62312 into codac-team:codac2_dev Oct 9, 2026
1 of 80 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.

2 participants