From: Michael Wallner Date: Sat, 17 Oct 2020 06:31:59 +0000 (+0200) Subject: cmake: missing file X-Git-Tag: 1.1.0-beta1~204 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4864a833c108751dafcff4705bcfaf0c87af3337;p=m6w6%2Flibmemcached cmake: missing file --- diff --git a/CMake/FindMemcached.cmake b/CMake/FindMemcached.cmake new file mode 100644 index 00000000..d153d20b --- /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)