16 lines
323 B
CMake
16 lines
323 B
CMake
include(FetchContent)
|
|
|
|
set(FETCHCONTENT_QUIET TRUE)
|
|
set(BUILD_SHARED_LIBS OFF CACHE STRING "" FORCE)
|
|
|
|
FetchContent_Declare(
|
|
xxhash
|
|
GIT_REPOSITORY https://github.com/Cyan4973/xxHash.git
|
|
GIT_TAG v0.8.3
|
|
GIT_SHALLOW TRUE
|
|
SOURCE_SUBDIR "cmake_unofficial/"
|
|
OVERRIDE_FIND_PACKAGE)
|
|
|
|
FetchContent_MakeAvailable(xxhash)
|
|
|