summaryrefslogtreecommitdiffstats
path: root/contrib/cmake/FunctionExists.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cmake/FunctionExists.cmake')
-rw-r--r--contrib/cmake/FunctionExists.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cmake/FunctionExists.cmake b/contrib/cmake/FunctionExists.cmake
new file mode 100644
index 0000000..d2877a1
--- /dev/null
+++ b/contrib/cmake/FunctionExists.cmake
@@ -0,0 +1,2 @@
+include(CheckFunctionExists)
+CHECK_FUNCTION_EXISTS(strndup HAS_STRNDUP)