Properly link against xxhash

Things using dolphin_find_optional_system_library need to link against the name used there or they won't work with both the system and bundled cases
This commit is contained in:
TellowKrinkle 2024-07-06 16:56:44 -05:00
parent 02e1b94149
commit cab6e7c12e
3 changed files with 3 additions and 2 deletions

View File

@ -6,3 +6,4 @@ target_include_directories(xxhash
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/xxHash
)
add_library(xxhash::xxhash ALIAS xxhash)

View File

@ -45,7 +45,7 @@ PUBLIC
PRIVATE
# Link against glslang, the other necessary libraries are referenced by the executable.
glslang
xxhash
xxhash::xxhash
)
if (ANDROID AND _M_ARM_64)

View File

@ -214,7 +214,7 @@ PUBLIC
PRIVATE
fmt::fmt
spng::spng
xxhash
xxhash::xxhash
imgui
implot
glslang