Merge pull request #12330 from Tilka/xxhash

CMake: allow using system xxhash
This commit is contained in:
Tilka 2023-11-28 00:58:58 +00:00 committed by GitHub
commit c67f1afcef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -663,10 +663,7 @@ dolphin_find_optional_system_library(pugixml Externals/pugixml)
dolphin_find_optional_system_library_pkgconfig(ENET libenet>=1.3.8 enet::enet Externals/enet)
if(NOT XXHASH_FOUND)
message(STATUS "Using static xxhash from Externals")
add_subdirectory(Externals/xxhash)
endif()
dolphin_find_optional_system_library_pkgconfig(xxhash libxxhash>=0.8.2 xxhash::xxhash Externals/xxhash)
dolphin_find_optional_system_library(BZip2 Externals/bzip2)