projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ca5b36c
)
cmake: missing file
author
Michael Wallner
<mike@php.net>
Sat, 17 Oct 2020 06:31:59 +0000
(08:31 +0200)
committer
Michael Wallner
<mike@php.net>
Sat, 17 Oct 2020 06:31:59 +0000
(08:31 +0200)
CMake/FindMemcached.cmake
[new file with mode: 0644]
patch
|
blob
diff --git a/CMake/FindMemcached.cmake
b/CMake/FindMemcached.cmake
new file mode 100644
(file)
index 0000000..
d153d20
--- /dev/null
+++ b/
CMake/FindMemcached.cmake
@@ -0,0
+1,10
@@
+find_program(MEMCACHED_EXECUTABLE NAMES memcached
+ HINTS $ENV{MEMCACHED_DIR}
+ PATH_SUFFIXES bin
+ DOC "memcached(), Memcached daemon"
+ )
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(Memcached DEFAULT_MSG MEMCACHED_EXECUTABLE)
+
+mark_as_advanced(MEMCACHED_EXECUTABLE)