From 036448ac3f3d2b7532610097868963e2439b7e38 Mon Sep 17 00:00:00 2001 From: Zion Nimchuk Date: Mon, 14 May 2018 17:27:50 -0700 Subject: [PATCH] Fix xxhash and AppImages Fixes #4573 --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aafee50393..0bf544bffe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${PROJECT_BINARY_DIR}/bin") add_subdirectory( Vulkan ) add_subdirectory( rpcs3 ) -add_subdirectory(3rdparty/xxHash/cmake_unofficial) include_directories(3rdparty/hidapi/hidapi) if(APPLE) @@ -58,3 +57,7 @@ else() add_subdirectory(3rdparty/hidapi/libusb) #list(APPEND LIBS hidapi-libusb) endif() + +set(XXHASH_BUNDLED_MODE ON) +set(BUILD_SHARED_LIBS OFF CACHE BOOL "Make xxHash build static libs") +add_subdirectory(3rdparty/xxHash/cmake_unofficial)