From 2f7dc168f29c0693203cc10901cb6dc4bb23ea75 Mon Sep 17 00:00:00 2001 From: Joachim Henze <33393466+JoachimHenze@users.noreply.github.com> Date: Thu, 7 Apr 2022 00:36:52 +0200 Subject: [PATCH] [WINHTTP] Fix 1 MSVC x86 warning LNK4199 (#4414) CORE-18104 Fixes Creating library dll\win32\winhttp\winhttp.lib and object dll\win32\winhttp\winhttp.exp LINK : warning LNK4199: /DELAYLOAD:ole32.dll ignored; no imports found from ole32.dll which I could observe all the way from releases/0.4.7 up to releases/0.4.14 with MSVC 2010SP1 (16.0.40219.1) x86 target in dbg configuration --- dll/win32/winhttp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/winhttp/CMakeLists.txt b/dll/win32/winhttp/CMakeLists.txt index f0dca0805ed..184ca8604e6 100644 --- a/dll/win32/winhttp/CMakeLists.txt +++ b/dll/win32/winhttp/CMakeLists.txt @@ -29,7 +29,7 @@ add_library(winhttp MODULE set_module_type(winhttp win32dll) target_link_libraries(winhttp uuid wine) -add_delay_importlibs(winhttp oleaut32 ole32 crypt32 secur32) +add_delay_importlibs(winhttp oleaut32 crypt32 secur32) add_importlibs(winhttp user32 advapi32 ws2_32 jsproxy kernel32_vista msvcrt kernel32 ntdll) add_dependencies(winhttp stdole2) add_pch(winhttp precomp.h SOURCE)