blob: a4b86f65fc48fe7a76234f3192abc8a9b127cbf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# -*- cmake -*-
include_guard()
include(Prebuilt)
include(FindPkgConfig)
pkg_check_modules(Xxhash REQUIRED libxxhash)
if (DARWIN_USE_HOMEBREW AND Xxhash_INCLUDE_DIRS)
# hbxxh.cpp includes <xxhash.h>. Homebrew does not put that directory on the default search path.
include_directories(SYSTEM ${Xxhash_INCLUDE_DIRS})
endif ()
return ()
use_prebuilt_binary(xxhash)
|