Fix issue with XXHASH_BUILD_XXHSUM cmake setting #468
No reviewers
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash!468
Loading…
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using
set(... CACHE ...)causesXXHASH_BUILD_XXHSUMto be stuckONeven when doing aset(XXHASH_BUILD_XXHSUM OFF)for some cmake version/generators. Switching tooption(...)fixes this issue and allows you to properly turn off the building of xxhsum in all situations.Currently using
set(XXHASH_BUILD_XXHSUM OFF CACHE BOOL "" FORCE)before including xxhash into another cmake project gets around the issue but is non-obvious.Thanks @Cyan4973 for the quick review 👍