xxhash: Add cmake + VS files

Based on riking's PR.
This commit is contained in:
degasus
2015-01-20 22:43:26 +01:00
parent b1206ffbad
commit 402fb4bd20
8 changed files with 90 additions and 4 deletions

View File

@ -516,6 +516,13 @@ include_directories(Source/Core)
add_subdirectory(Externals/Bochs_disasm)
include_directories(Externals/Bochs_disasm)
if(NOT XXHASH_FOUND)
message("Using static xxhash from Externals")
add_subdirectory(Externals/xxhash)
include_directories(Externals/xxhash)
endif()
LIST(APPEND LIBS xxhash)
# If zlib has already been found on a previous run of cmake don't check again
# as the check seems to take a long time.
if(NOT ZLIB_FOUND)