Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 256f992

Browse files
committedOct 18, 2022
vendor mfu-ified xxhash
fixed cmake for vendored xxhash update submodule
1 parent 235afc8 commit 256f992

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)
Please sign in to comment.