Skip to content

conan package for jolt has some difficulties #1499

Answered by jrouwe
cuppajoeman asked this question in Q&A
Discussion options

You must be logged in to vote

So the prebuilt binary will have that definition in-place, so would it then be expected that when we build our client code that we must also have this definition in place or else things wouldn't work correctly?

Yes, all defines that start with JPH_ must match between library and client code. Normally cmake takes care of this because of the PUBLIC in target_compile_definitions (this means: set the definition on Jolt and anything that uses it). Conan somehow interferes with this and prevents that from working. I'm not familiar with conan, so I can't give any suggestions as to why that may be happening.

And would this then imply that whenever we have a option set to true, which in-turn cr…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cuppajoeman
Comment options

@jrouwe
Comment options

Answer selected by cuppajoeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants