From: Kefu Chai Date: Mon, 11 Jul 2016 13:29:09 +0000 (+0800) Subject: cmake: fix the detection of curl_multi_wait() X-Git-Tag: v11.0.1~790^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5e582493629a182faac364836085e444af287fb3;p=ceph-ci.git cmake: fix the detection of curl_multi_wait() it was broken by b5bb77d5 Signed-off-by: Kefu Chai --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d14c15cc301..f9598c40c85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,7 +276,7 @@ find_package(libuuid REQUIRED) find_package(CURL REQUIRED) set(CMAKE_REQUIRED_INCLUDES ${CURL_INCLUDE_DIRS}) set(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBRARIES}) -CHECK_SYMBOL_EXISTS(curl_multi_wait "curl.h" HAVE_CURL_MULTI_WAIT) +CHECK_SYMBOL_EXISTS(curl_multi_wait curl/curl.h HAVE_CURL_MULTI_WAIT) # nss or cryptopp? option(WITH_NSS "Use NSS crypto and SSL implementations" ON)