summaryrefslogtreecommitdiffstats
path: root/Modules/FindCURL.cmake
diff options
context:
space:
mode:
authorSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-01 19:08:11 (GMT)
committerSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-01 19:08:11 (GMT)
commit6c77c615325881c5710062175c319ecac60a59b0 (patch)
treee837de7fd0be78838b005a6dca347c6219da5df5 /Modules/FindCURL.cmake
parent739278e971d61e830877a9db8d40bd61e5611994 (diff)
downloadCMake-6c77c615325881c5710062175c319ecac60a59b0.zip
CMake-6c77c615325881c5710062175c319ecac60a59b0.tar.gz
CMake-6c77c615325881c5710062175c319ecac60a59b0.tar.bz2
FindCURL use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Modules/FindCURL.cmake')
-rw-r--r--Modules/FindCURL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindCURL.cmake b/Modules/FindCURL.cmake
index 919babc..3acadc2 100644
--- a/Modules/FindCURL.cmake
+++ b/Modules/FindCURL.cmake
@@ -92,6 +92,7 @@ if(NOT CURL_LIBRARY)
curllib_static
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip):
libcurl
+ NAMES_PER_DIR
HINTS ${PC_CURL_LIBRARY_DIRS}
)
mark_as_advanced(CURL_LIBRARY_RELEASE)
@@ -100,6 +101,7 @@ if(NOT CURL_LIBRARY)
# Windows MSVC CMake builds in debug configuration on vcpkg:
libcurl-d_imp
libcurl-d
+ NAMES_PER_DIR
HINTS ${PC_CURL_LIBRARY_DIRS}
)
mark_as_advanced(CURL_LIBRARY_DEBUG)