Add debug postfix to libcef_dll_wrapper

This commit is contained in:
Maarten Bent 2023-12-24 17:58:32 +01:00
parent 948545ba81
commit 3d51977acf
No known key found for this signature in database
GPG key ID: 58AAEE3F4A4FD070
2 changed files with 13 additions and 2 deletions

View file

@ -65,10 +65,14 @@
// This sample can be built with and without wxUSE_WEBVIEW_CHROMIUM, so we
// can't put the libraries in the project linker options and have to link them
// from here.
#if defined(_MSC_VER) && wxUSE_WEBVIEW_CHROMIUM
#if defined(_MSC_VER) && wxUSE_WEBVIEW_CHROMIUM && !WXUSINGDLL
#pragma comment(lib, "libcef")
#ifndef NDEBUG
#pragma comment(lib, "libcef_dll_wrapperd")
#else
#pragma comment(lib, "libcef_dll_wrapper")
#endif
#endif
//We map menu items to their history items
using wxMenuHistoryMap = std::map<int, wxSharedPtr<wxWebViewHistoryItem>>;