From 1d14e051a55132c8b4415f8f01f7b4124a4574f4 Mon Sep 17 00:00:00 2001 From: Jiwoo Park Date: Sun, 12 Nov 2023 11:26:57 +0900 Subject: [PATCH] Remove cryptui on Windows (#1710) --- CMakeLists.txt | 1 - httplib.h | 1 - 2 files changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e3f50e..927cb63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -219,7 +219,6 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} # Needed for Windows libs on Mingw, as the pragma comment(lib, "xyz") aren't triggered. $<$:ws2_32> $<$:crypt32> - $<$:cryptui> # Needed for API from MacOS Security framework "$<$,$,$>:-framework CoreFoundation -framework Security>" # Can't put multiple targets in a single generator expression or it bugs out. diff --git a/httplib.h b/httplib.h index 1c78c35..98e1ce7 100644 --- a/httplib.h +++ b/httplib.h @@ -247,7 +247,6 @@ using socket_t = int; #ifdef _MSC_VER #pragma comment(lib, "crypt32.lib") -#pragma comment(lib, "cryptui.lib") #endif #elif defined(CPPHTTPLIB_USE_CERTS_FROM_MACOSX_KEYCHAIN) && defined(__APPLE__) #include