This is an automated email from the ASF dual-hosted git repository.
binbin pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 493c6d0f Fix no binary directory error of xxhash in CMake (#1779)
493c6d0f is described below
commit 493c6d0fa325fd596c31708fcb9a2070254c730d
Author: Twice <[email protected]>
AuthorDate: Tue Sep 26 11:50:25 2023 +0900
Fix no binary directory error of xxhash in CMake (#1779)
`xxhash_BINARY_DIR` is the right variable instead of `xxhash_BUILD_DIR`.
Close #1778.
---
cmake/xxhash.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/xxhash.cmake b/cmake/xxhash.cmake
index edcdfe18..3330e9c0 100644
--- a/cmake/xxhash.cmake
+++ b/cmake/xxhash.cmake
@@ -31,5 +31,5 @@ if(NOT xxhash_POPULATED)
set(BUILD_SHARED_LIBS OFF)
set(XXHASH_BUILD_XXHSUM OFF)
- add_subdirectory(${xxhash_SOURCE_DIR}/cmake_unofficial ${xxhash_BUILD_DIR}
EXCLUDE_FROM_ALL)
+ add_subdirectory(${xxhash_SOURCE_DIR}/cmake_unofficial ${xxhash_BINARY_DIR}
EXCLUDE_FROM_ALL)
endif()