]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: fix the detection of curl_multi_wait()
authorKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 13:29:09 +0000 (21:29 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 13:29:11 +0000 (21:29 +0800)
it was broken by b5bb77d5

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt

index d14c15cc301b409cdb740eabc29c8d853940980a..f9598c40c8587e944c650d97f0a89b12119d4af5 100644 (file)
@@ -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)