summaryrefslogtreecommitdiff
path: root/indra/cmake/xxHash.cmake
blob: 2dcab005ba62ae38bcf9f28222a78b75f7099d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- cmake -*-
if (XXHASH_CMAKE_INCLUDED)
  return()
endif (XXHASH_CMAKE_INCLUDED)
set (XXHASH_CMAKE_INCLUDED TRUE)

include(Prebuilt)

if (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
  include(FindPkgConfig)
  pkg_check_modules(Xxhash REQUIRED libxxhash)
  return ()
endif ()

use_prebuilt_binary(xxhash)