vcpkg/ports/curl/0005_remove_imp_suffix.patch

13 lines
437 B
Diff
Raw Normal View History

2023-06-02 02:07:32 +08:00
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 1d71e14..62b7b33 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -125,7 +125,6 @@ if(WIN32)
if(MSVC)
# Add "_imp" as a suffix before the extension to avoid conflicting with
# the statically linked "libcurl.lib"
- set_target_properties(${LIB_NAME} PROPERTIES IMPORT_SUFFIX "_imp.lib")
endif()
endif()
2023-06-02 02:07:32 +08:00
elseif(NOT CMAKE_CROSSCOMPILING)