Skip to content

FindCURL: fix component failure when no pkg-config

Hiroshi Miura requested to merge miurahr/cmake:patch-findcurl-fix-typo into master

find_package(CURL COMPONENTS foo) fails when there is no pkg-config module in OS because of variable name typo. A module check output of curl-config command but it stores result in wrong variable. This cause a conponent not found.

Signed-off-by: Hiroshi Miura miurahr@linux.com
Fixes: #18802 (closed)
Topic-rename: FindCURL-typo

Edited by Brad King

Merge request reports