Skip to content

Commit 4e5f9f2

Browse files
committed
vendor mfu-ified xxhash
fixed cmake for vendored xxhash Signed-off-by: Andrew Robbins [email protected] update submodule
1 parent 233968b commit 4e5f9f2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "xxhash"]
2+
path = xxhash
3+
url = https://github.com/theAeon/xxhash
4+
branch = xxhash-mfu

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ IF(LibCap_FOUND)
148148
ENDIF(LibCap_FOUND)
149149

150150
## XXHASH for ddup
151-
find_package(xxHash REQUIRED)
152-
INCLUDE_DIRECTORIES(${xxHash_INCLUDE_DIRS})
151+
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/xxhash/cmake_unofficial)
153152

154153
# Setup Installation
155154

@@ -199,3 +198,4 @@ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/src/common)
199198
ADD_SUBDIRECTORY(src)
200199
ADD_SUBDIRECTORY(test)
201200
ADD_SUBDIRECTORY(man)
201+

xxhash

Submodule xxhash added at a0a7451

0 commit comments

Comments
 (0)