mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
VideoCommon/Vulkan: Explicitly link in xxhash
Lessens the dependency on the LIBS variable (and also makes the required libraries explicit).
This commit is contained in:
parent
03a6a9b240
commit
b818cc682c
@ -588,7 +588,6 @@ if(NOT XXHASH_FOUND)
|
||||
add_subdirectory(Externals/xxhash)
|
||||
include_directories(Externals/xxhash)
|
||||
endif()
|
||||
LIST(APPEND LIBS xxhash)
|
||||
|
||||
find_package(ZLIB)
|
||||
if(ZLIB_FOUND)
|
||||
|
@ -41,5 +41,9 @@ include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/Externals/glslang/SPIRV)
|
||||
|
||||
# Link against glslang, the other necessary libraries are referenced by the executable.
|
||||
add_dolphin_library(videovulkan "${SRCS}" "${LIBS}")
|
||||
target_link_libraries(videovulkan PRIVATE glslang)
|
||||
target_link_libraries(videovulkan
|
||||
PRIVATE
|
||||
glslang
|
||||
xxhash
|
||||
)
|
||||
|
||||
|
@ -64,6 +64,7 @@ PUBLIC
|
||||
core
|
||||
PRIVATE
|
||||
png
|
||||
xxhash
|
||||
)
|
||||
|
||||
if(_M_X86)
|
||||
|
Loading…
Reference in New Issue
Block a user