Skip to content

Commit 88365c0

Browse files
committed
cmake BUGFIX missing library for xxhash check
1 parent 144af37 commit 88365c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeModules/FindXXHash.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ find_library(XXHASH_LIBRARY
3535
)
3636

3737
# for 32-bit system compatibility
38+
set(CMAKE_REQUIRED_LIBRARIES ${XXHASH_LIBRARY})
3839
check_symbol_exists(XXH3_64bits_withSeed ${XXHASH_INCLUDE_DIR}/xxhash.h HAVE_XXH3_64BITS_WITHSEED)
3940

4041
include(FindPackageHandleStandardArgs)

0 commit comments

Comments
 (0)