mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:11:40 +03:00
parent
fa5c311904
commit
f99a4c759f
1 changed files with 1 additions and 4 deletions
|
|
@ -95,10 +95,6 @@ endif()
|
|||
|
||||
target_link_libraries(${LIB_NAME} ${CURL_LIBS})
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-D_USRDLL)
|
||||
endif()
|
||||
|
||||
set_target_properties(${LIB_NAME} PROPERTIES
|
||||
COMPILE_DEFINITIONS BUILDING_LIBCURL
|
||||
OUTPUT_NAME ${LIBCURL_OUTPUT_NAME}
|
||||
|
|
@ -121,6 +117,7 @@ endif()
|
|||
|
||||
if(WIN32)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_property(TARGET ${LIB_NAME} APPEND PROPERTY COMPILE_DEFINITIONS "_USRDLL")
|
||||
if(MSVC)
|
||||
# Add "_imp" as a suffix before the extension to avoid conflicting with
|
||||
# the statically linked "libcurl.lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue