cmake: Fix libcurl lookup on mac
On mac, pkg-config by default expects "libcurl" rather than "curl"
This commit is contained in:
parent
cce2eb9387
commit
f227a46b98
@ -10,7 +10,7 @@
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
if (PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(_CURL QUIET curl)
|
||||
pkg_check_modules(_CURL QUIET curl libcurl)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
|
Loading…
x
Reference in New Issue
Block a user