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:
parent
02e1b94149
commit
cab6e7c12e
|
@ -6,3 +6,4 @@ target_include_directories(xxhash
|
||||||
PUBLIC
|
PUBLIC
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/xxHash
|
${CMAKE_CURRENT_SOURCE_DIR}/xxHash
|
||||||
)
|
)
|
||||||
|
add_library(xxhash::xxhash ALIAS xxhash)
|
||||||
|
|
|
@ -45,7 +45,7 @@ PUBLIC
|
||||||
PRIVATE
|
PRIVATE
|
||||||
# Link against glslang, the other necessary libraries are referenced by the executable.
|
# Link against glslang, the other necessary libraries are referenced by the executable.
|
||||||
glslang
|
glslang
|
||||||
xxhash
|
xxhash::xxhash
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ANDROID AND _M_ARM_64)
|
if (ANDROID AND _M_ARM_64)
|
||||||
|
|
|
@ -214,7 +214,7 @@ PUBLIC
|
||||||
PRIVATE
|
PRIVATE
|
||||||
fmt::fmt
|
fmt::fmt
|
||||||
spng::spng
|
spng::spng
|
||||||
xxhash
|
xxhash::xxhash
|
||||||
imgui
|
imgui
|
||||||
implot
|
implot
|
||||||
glslang
|
glslang
|
||||||
|
|
Loading…
Reference in New Issue