From: Kai Pastor Date: Sat, 2 Jul 2022 07:36:09 +0000 (+0200) Subject: cmake: fix build for mingw cross compile X-Git-Tag: curl-7_85_0~209 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e584b1c0445b7f72cdd48ccd8f51d01a642a1a99;p=thirdparty%2Fcurl.git cmake: fix build for mingw cross compile - Change normaliz lib name to all lowercase. This is from a standing patch in vcpkg: Mingw has libnormaliz.a. For case-sensitive file systems (e.g. cross builds from Linux), the spelling must match exactly. Closes https://github.com/curl/curl/pull/9084 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ad20777f3d..5f93bedf6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -688,7 +688,7 @@ endif() if(WIN32) option(USE_WIN32_IDN "Use WinIDN for IDN support" OFF) if(USE_WIN32_IDN) - list(APPEND CURL_LIBS "Normaliz") + list(APPEND CURL_LIBS "normaliz") set(WANT_IDN_PROTOTYPES ON) endif() endif()