You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TARGET_LINK_LIBRARIES should also be present for static linking
Example:
IF (BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES(BulletCollisionLinearMath)
ENDIF (BUILD_SHARED_LIBS)
This should just be:
TARGET_LINK_LIBRARIES(BulletCollisionLinearMath)
Otherwise, it's difficult to use Bullet statically from another project, the user must manually specify the correct order and all the dependencies. This also means when installing static .a libraries, the generated pkg-config files are wrong.
This discussion was converted from issue #3233 on April 26, 2021 03:46.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TARGET_LINK_LIBRARIES
should also be present for static linkingExample:
This should just be:
Otherwise, it's difficult to use Bullet statically from another project, the user must manually specify the correct order and all the dependencies. This also means when installing static
.a
libraries, the generated pkg-config files are wrong.Beta Was this translation helpful? Give feedback.
All reactions