Skip to content

Commit

Permalink
Merge pull request #6556 from lioncash/video-libs
Browse files Browse the repository at this point in the history
VideoCommon/Vulkan: Explicitly link in xxhash
  • Loading branch information
degasus committed Mar 29, 2018
2 parents 03a6a9b + b818cc6 commit c697b7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 5 additions & 1 deletion Source/Core/VideoBackends/Vulkan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

1 change: 1 addition & 0 deletions Source/Core/VideoCommon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ PUBLIC
core
PRIVATE
png
xxhash
)

if(_M_X86)
Expand Down

0 comments on commit c697b7d

Please sign in to comment.