[cmake] link mod_cml with memcached
@@ -691,6 +691,9 @@ if(WITH_LUA)
add_and_install_library(mod_cml "mod_cml.c;mod_cml_lua.c;mod_cml_funcs.c")
target_link_libraries(mod_cml ${LUA_LDFLAGS})
add_target_properties(mod_cml COMPILE_FLAGS ${LUA_CFLAGS})
+ if(WITH_MEMCACHED)
+ target_link_libraries(mod_cml memcached)
+ endif()
endif()
if(WITH_GEOIP)
