Prefer shared cURL library instead of the static one.
authorIlya Zhuravlev <zhuravlevilya@ya.ru>
Fri, 21 Dec 2012 16:35:04 +0000 (20:35 +0400)
committerIlya Zhuravlev <zhuravlevilya@ya.ru>
Fri, 21 Dec 2012 16:35:04 +0000 (20:35 +0400)
cmake/Modules/FindCURL.cmake

index 03ca4e0fab9b5e419ce97ec2ae94c966f3656de2..3644d192e318d97554025cc3f2683fa3a7b974ae 100644 (file)
@@ -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