Include arch-specific suffix in the DLL names in CMake builds too
Make the x64 DLL names consistent with the DLLs produced by the MSVS projects and/or nmake makefiles. See #23053. Closes #23071.
This commit is contained in:
parent
82eb445722
commit
edcfeab29d
1 changed files with 4 additions and 0 deletions
|
|
@ -212,6 +212,10 @@ function(wx_set_target_properties target_name)
|
|||
if(wxCOMPILER_PREFIX)
|
||||
wx_string_append(dll_suffix "_${wxCOMPILER_PREFIX}")
|
||||
endif()
|
||||
if(WIN32_MSVC_NAMING AND wxARCH_SUFFIX)
|
||||
# This one already includes the leading underscore, so don't add another one.
|
||||
wx_string_append(dll_suffix "${wxARCH_SUFFIX}")
|
||||
endif()
|
||||
if(wxBUILD_VENDOR)
|
||||
wx_string_append(dll_suffix "_${wxBUILD_VENDOR}")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue