From: Ilya Zhuravlev Date: Fri, 21 Dec 2012 16:35:04 +0000 (+0400) Subject: Prefer shared cURL library instead of the static one. X-Git-Tag: 0.4.5~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4172934e5f5e1c8aca4355993357e2d9a73b1e7;p=oweals%2Fminetest.git Prefer shared cURL library instead of the static one. --- diff --git a/cmake/Modules/FindCURL.cmake b/cmake/Modules/FindCURL.cmake index 03ca4e0fa..3644d192e 100644 --- a/cmake/Modules/FindCURL.cmake +++ b/cmake/Modules/FindCURL.cmake @@ -12,7 +12,7 @@ if( UNIX ) /usr/include/curl ) - FIND_LIBRARY(CURL_LIBRARY NAMES libcurl.a curl + FIND_LIBRARY(CURL_LIBRARY NAMES curl PATHS /usr/local/lib /usr/lib