This change introduces support for glibc versions older than 2.17 where secure_getenv was introduced.
5 lines
130 B
CMake
5 lines
130 B
CMake
include(CheckFunctionExists)
|
|
|
|
check_function_exists(strndup HAVE_STRNDUP)
|
|
check_function_exists(secure_getenv HAVE_SECURE_GETENV)
|