Always use vendor in CMake-built DLLs regardless of version

The vendor string was ignored for the stable wxWidgets versions (e.g.,
3.2). However, vendor should be always used when available, regardless
of wxWidgets version. The only case when vendor should not be used is
when creating official builds (currently not done with CMake).

See #22931.

(cherry picked from commit 48434622c6f797f0f54d40da61b327f3dca081c8)
This commit is contained in:
PB 2022-10-30 11:34:44 +01:00 committed by Vadim Zeitlin
parent d109e79653
commit 92a63f016a

View File

@ -214,7 +214,7 @@ function(wx_set_target_properties target_name)
if(wxCOMPILER_PREFIX)
wx_string_append(dll_suffix "_${wxCOMPILER_PREFIX}")
endif()
if(wxBUILD_VENDOR AND wxVERSION_IS_DEV)
if(wxBUILD_VENDOR)
wx_string_append(dll_suffix "_${wxBUILD_VENDOR}")
endif()