File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ if(NOT IOS)
113113 if (MSVC )
114114 target_link_options (crashpad_handler PRIVATE "/SUBSYSTEM:WINDOWS" )
115115 endif ()
116+
117+ if (COMMAND sentry_add_version_resource)
118+ sentry_add_version_resource (crashpad_handler "Crashpad Handler" )
119+ endif ()
116120 endif ()
117121
118122 set_property (TARGET crashpad_handler PROPERTY EXPORT_NAME crashpad_handler )
@@ -144,6 +148,10 @@ if (WIN32)
144148 set_property (TARGET crashpad_wer PROPERTY PREFIX "" ) # ensure MINGW doesn't prefix "lib" to dll name
145149 add_library (crashpad::wer ALIAS crashpad_wer )
146150
151+ if (COMMAND sentry_add_version_resource)
152+ sentry_add_version_resource (crashpad_wer "Crashpad WER Module" )
153+ endif ()
154+
147155 install (TARGETS crashpad_wer EXPORT crashpad_export
148156 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
149157 )
You can’t perform that action at this time.
0 commit comments