2 install(FILES ax_libmemcached.m4
3 DESTINATION ${CMAKE_INSTALL_DATADIR}/aclocal
6 configure_file(example.cnf.in example.cnf @ONLY)
7 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/example.cnf
8 DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}
11 configure_file(libmemcached.pc.in libmemcached.pc @ONLY)
12 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmemcached.pc
13 DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
17 set(LIBMEMCACHED_WITH_SASL_PWDB "${CMAKE_CURRENT_BINARY_DIR}/memcached.pwdb" PARENT_SCOPE)
18 set(LIBMEMCACHED_WITH_SASL_CONF "${CMAKE_CURRENT_BINARY_DIR}" PARENT_SCOPE)
20 cmake_host_system_information(RESULT HOSTNAME QUERY HOSTNAME)
21 configure_file(memcached.pwdb.in memcached.pwdb @ONLY)
22 configure_file(memcached.conf.in memcached.conf @ONLY)
25 configure_package_config_file(libmemcached-config.cmake.in
26 libmemcached-config.cmake
27 INSTALL_DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake/)
28 write_basic_package_version_file(libhashkit-version.cmake
29 VERSION ${LIBHASHKIT_VERSION}
30 COMPATIBILITY SameMajorVersion)
31 write_basic_package_version_file(libmemcached-version.cmake
32 VERSION ${LIBMEMCACHED_VERSION}
33 COMPATIBILITY SameMajorVersion)
34 write_basic_package_version_file(libmemcachedprotocol-version.cmake
35 VERSION ${LIBMEMCACHEDPROTOCOL_VERSION}
36 COMPATIBILITY SameMajorVersion)
37 write_basic_package_version_file(libmemcachedutil-version.cmake
38 VERSION ${LIBMEMCACHEDUTIL_VERSION}
39 COMPATIBILITY SameMajorVersion)
41 ${CMAKE_CURRENT_BINARY_DIR}/libmemcached-config.cmake
42 ${CMAKE_CURRENT_BINARY_DIR}/libhashkit-version.cmake
43 ${CMAKE_CURRENT_BINARY_DIR}/libmemcached-version.cmake
44 ${CMAKE_CURRENT_BINARY_DIR}/libmemcachedprotocol-version.cmake
45 ${CMAKE_CURRENT_BINARY_DIR}/libmemcachedutil-version.cmake
46 DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake/)