Skip to content
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

Fixes to installing as shared #1

Merged
merged 4 commits into from
Apr 29, 2021
Merged

Conversation

bwrsandman
Copy link
Collaborator

@bwrsandman bwrsandman commented Apr 29, 2021

Cross PR to widberg#100

  • cmake: turn on CMAKE_POSITION_INDEPENDENT_CODE for shared
    • This prevents an error while linking static libs into shared libs on linux
  • install bx and bimg as shared libs if building as shared
  • don't install static libs if shared libs have been built

This prevents an error while linking libbx.a into libbgfx.so on linux
This makes it so in shared mode, bx and bimg static libs aren't installed
@bwrsandman bwrsandman requested a review from exdal April 29, 2021 17:47
@bwrsandman bwrsandman merged commit f8f30ca into bkaradzic:master Apr 29, 2021
exdal added a commit that referenced this pull request May 2, 2021
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