Skip to content

Commit

Permalink
Fix no binary directory error of xxhash in CMake (#1779)
Browse files Browse the repository at this point in the history
`xxhash_BINARY_DIR` is the right variable instead of `xxhash_BUILD_DIR`.

Close #1778.
  • Loading branch information
PragmaTwice authored Sep 26, 2023
1 parent 2f2d80f commit 493c6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/xxhash.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 493c6d0

Please sign in to comment.