Skip to content

Mark required link libraries as PUBLIC #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Mark required link libraries as PUBLIC #520

merged 3 commits into from
Sep 10, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Sep 10, 2024

This way dependent projects only need to add this:

link_libraries(qjs)

or

target_link_libraries(mytarget qjs)

And CMake will link the resulting target with the libraries that qjs needs too.

This way dependent projects only need to add this:

```
link_libraries(qjs)

or

target_link_libraries(mytarget qjs)
```

And CMake will link the resulting target with the libraries that qjs
needs too.
@saghul saghul merged commit dc6745a into master Sep 10, 2024
50 checks passed
@saghul saghul deleted the public-link-libs branch September 10, 2024 21:42
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