diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2018-05-24 00:37:53 +0300 |
---|---|---|
committer | Sergei Nikulov <snikulov@users.noreply.github.com> | 2018-05-24 17:25:41 +0300 |
commit | 2c0225e0423eea2c76e68f50c766b112d1303d92 (patch) | |
tree | 71ccd5f3256ef054efece25da0ba6e6b48991dda /lib | |
parent | d353af001420574210605ba132dfd31a0e3876a5 (diff) |
cmake: set -d postfix for debug builds if not specified
using -DCMAKE_DEBUG_POSTFIX explicitly
fixes #2121, obsoletes #2384
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1fabdba90..6653d555f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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() |