Skip to content

Commit

Permalink
vendor mfu-ified xxhash
Browse files Browse the repository at this point in the history
fixed cmake for vendored xxhash

update submodule
  • Loading branch information
theAeon committed Oct 18, 2022
1 parent 235afc8 commit 256f992
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "xxhash"]
path = xxhash
url = https://github.com/theAeon/xxhash
branch = xxhash-mfu
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ IF(LibCap_FOUND)
ENDIF(LibCap_FOUND)

## XXHASH for ddup
find_package(xxHash REQUIRED)
INCLUDE_DIRECTORIES(${xxHash_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/xxhash/cmake_unofficial)

# Setup Installation

Expand Down Expand Up @@ -199,3 +198,4 @@ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/src/common)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(test)
ADD_SUBDIRECTORY(man)

1 change: 1 addition & 0 deletions xxhash
Submodule xxhash added at a0a745

0 comments on commit 256f992

Please sign in to comment.