Skip to content

replace add_dependencies with target_link_libraries to support parallel ninja builds#124

Merged
glessin merged 3 commits intopmlmodelling:masterfrom
jornbr:ninja
Jun 25, 2024
Merged

replace add_dependencies with target_link_libraries to support parallel ninja builds#124
glessin merged 3 commits intopmlmodelling:masterfrom
jornbr:ninja

Conversation

@jornbr
Copy link
Copy Markdown
Contributor

@jornbr jornbr commented May 2, 2024

Description of Work

This replaces cmake's add_dependencies with target_link_libraries. This is in line with FABM 2.0 conventions and required to support parallel builds with ninja. Specifically, this PR fixes this test failure. The change is compatible with all FABM versions; it just requires cmake 3.13, which was released over 5 years ago and therefore widely available.

@wathen
Copy link
Copy Markdown
Member

wathen commented May 8, 2024

@jornbr is this ready for review?

@glessin glessin self-assigned this Jun 19, 2024
@glessin glessin closed this Jun 25, 2024
@glessin glessin reopened this Jun 25, 2024
@glessin glessin merged commit eb6acc1 into pmlmodelling:master Jun 25, 2024
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.

3 participants