File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ if (LWS_WITH_STATIC)
188
188
set_target_properties (websockets
189
189
PROPERTIES
190
190
OUTPUT_NAME websockets_static )
191
- endif ()
192
191
193
- if (LWS_APPEND_DEBUG_SUFFIX_D )
194
- set_target_properties (websockets PROPERTIES DEBUG_POSTFIX d )
192
+ if (LWS_APPEND_DEBUG_SUFFIX_D )
193
+ set_target_properties (websockets PROPERTIES DEBUG_POSTFIX d )
194
+ endif ()
195
195
endif ()
196
196
197
197
endif ()
@@ -227,6 +227,12 @@ if (LWS_WITH_SHARED)
227
227
PROPERTY COMPILE_DEFINITIONS
228
228
LWS_DLL
229
229
LWS_INTERNAL )
230
+
231
+ if (LWS_APPEND_DEBUG_SUFFIX_D )
232
+ set_target_properties (websockets_shared PROPERTIES DEBUG_POSTFIX d )
233
+ endif ()
234
+ install (FILES $< TARGET_PDB_FILE:websockets_shared>
235
+ DESTINATION bin OPTIONAL )
230
236
endif ()
231
237
232
238
if (APPLE )
@@ -244,10 +250,6 @@ if (LWS_WITH_SHARED)
244
250
endif ()
245
251
endif ()
246
252
247
- if (LWS_APPEND_DEBUG_SUFFIX_D )
248
- set_target_properties (websockets_shared PROPERTIES DEBUG_POSTFIX d )
249
- endif ()
250
-
251
253
endif ()
252
254
253
255
#
You can’t perform that action at this time.
0 commit comments