Merge pull request #6556 from lioncash/video-libs

VideoCommon/Vulkan: Explicitly link in xxhash
This commit is contained in:
Markus Wick 2018-03-29 13:25:30 +02:00 committed by GitHub
commit c697b7d435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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
)

View File

@ -64,6 +64,7 @@ PUBLIC
core
PRIVATE
png
xxhash
)
if(_M_X86)