mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:43:32 +03:00
cmake: set -d postfix for debug builds if not specified
using -DCMAKE_DEBUG_POSTFIX explicitly
fixes #2121, obsoletes #2384
This commit is contained in:
parent
d353af0014
commit
2c0225e042
5 changed files with 3 additions and 24 deletions
|
|
@ -98,13 +98,6 @@ if(WIN32)
|
|||
if(NOT CURL_STATICLIB)
|
||||
# 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")
|
||||
|
||||
set_target_properties (${LIB_NAME} PROPERTIES
|
||||
DEBUG_POSTFIX "-d"
|
||||
# Note: no postfix for release variants, let user choose what style of release he wants
|
||||
# MINSIZEREL_POSTFIX "-z"
|
||||
# RELWITHDEBINFO_POSTFIX "-g"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue