File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,6 @@ if (LWS_WITH_SECURE_STREAMS)
164
164
endif ()
165
165
add_subdir_include_dirs (secure-streams/serialized/client )
166
166
167
- if (WIN32 )
168
- set_target_properties (websockets PROPERTIES DEBUG_POSTFIX d )
169
- endif ()
170
-
171
167
if (LWS_WITH_STATIC )
172
168
if (LWS_STATIC_PIC )
173
169
set (CMAKE_POSITION_INDEPENDENT_CODE ON )
@@ -194,6 +190,10 @@ if (LWS_WITH_STATIC)
194
190
OUTPUT_NAME websockets_static )
195
191
endif ()
196
192
193
+ if (LWS_APPEND_DEBUG_SUFFIX_D )
194
+ set_target_properties (websockets PROPERTIES DEBUG_POSTFIX d )
195
+ endif ()
196
+
197
197
endif ()
198
198
199
199
if (LWS_WITH_SHARED )
@@ -244,6 +244,10 @@ if (LWS_WITH_SHARED)
244
244
endif ()
245
245
endif ()
246
246
247
+ if (LWS_APPEND_DEBUG_SUFFIX_D )
248
+ set_target_properties (websockets_shared PROPERTIES DEBUG_POSTFIX d )
249
+ endif ()
250
+
247
251
endif ()
248
252
249
253
#
You can’t perform that action at this time.
0 commit comments