Add mpark variant to dependency as alternative of cxx17 variant - #4290
Conversation
| SOURCE_DIR ${VARIANT_SOURCE_DIR} | ||
| GIT_REPOSITORY https://github.com/mpark/variant.git | ||
| GIT_SHALLOW 1 | ||
| GIT_TAG single-header |
There was a problem hiding this comment.
this should be ${VARIANT_RELEASE_VERSION} no?
There was a problem hiding this comment.
this is a branch for release, each version is a single directory
There was a problem hiding this comment.
yeah but they have tags as well, see https://github.com/mpark/variant/tree/v1.3.0
There was a problem hiding this comment.
because unfortunately the branch HEAD will always contain the latest release, meaning you will always checkout the latest release which probably not going to be in future VARIANT_RELEASE_VERSION and it's a good idea in general to depend on a specific version of an external lib.
There was a problem hiding this comment.
install with provided cmakelist requires a higher version cmake than ours
https://github.com/mpark/variant/blob/29319715a1f0eb0980d380db8a2fda5af8d58feb/CMakeLists.txt#L8
There was a problem hiding this comment.
mmmm i've just checked that branch, sorry i totally misunderstood the concept this... it's pretty weird to me having a branch totally different content than the base branch :)
|
@vinx13 i'll ping you when you should rebase this branch over the latest develop so we can get an actual good picture of the CI status... sorry it is my fault :( |
|
@vinx13 could you please rebase your branch over latest develop and push it so that this PR gets properly tested. thnx! |
No description provided.