mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
cmake: detect getentropy
Look for `getentropy` and flag its existence.
This commit is contained in:
@@ -68,6 +68,10 @@ check_prototype_definition(qsort_r
|
||||
|
||||
check_function_exists(qsort_s GIT_QSORT_S)
|
||||
|
||||
# random / entropy data
|
||||
|
||||
check_function_exists(getentropy GIT_RAND_GETENTROPY)
|
||||
|
||||
# determine architecture of the machine
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
|
||||
Reference in New Issue
Block a user