Add xxhash to dependencies

This commit is contained in:
Connor McLaughlin
2020-03-05 21:11:33 +10:00
parent 552a01a9b6
commit d46d681179
11 changed files with 4765 additions and 0 deletions

11
dep/xxhash/CMakeLists.txt Normal file
View File

@ -0,0 +1,11 @@
set(SRCS
include/xxh3.h
include/xxhash.h
src/xxhash.c
)
add_library(xxhash ${SRCS})
target_include_directories(xxhash PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_include_directories(xxhash INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_compile_definitions(xxhash INTERFACE "XXH_STATIC_LINKING_ONLY")