فهرست منبع

cmake: Fix libcurl lookup on mac

On mac, pkg-config by default expects "libcurl" rather than "curl"
jp9000 10 سال پیش
والد
کامیت
f227a46b98
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cmake/Modules/FindLibcurl.cmake

+ 1 - 1
cmake/Modules/FindLibcurl.cmake

@@ -10,7 +10,7 @@
 
 
 find_package(PkgConfig QUIET)
 find_package(PkgConfig QUIET)
 if (PKG_CONFIG_FOUND)
 if (PKG_CONFIG_FOUND)
-	pkg_check_modules(_CURL QUIET curl)
+	pkg_check_modules(_CURL QUIET curl libcurl)
 endif()
 endif()
 
 
 if(CMAKE_SIZEOF_VOID_P EQUAL 8)
 if(CMAKE_SIZEOF_VOID_P EQUAL 8)