mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 01:19:45 +08:00
CMake: Don't install release PDBs when stripped releases is enabled
See #26338
This commit is contained in:
@@ -588,7 +588,11 @@ macro(wx_add_library name)
|
||||
)
|
||||
|
||||
if(wxBUILD_SHARED AND MSVC AND wxBUILD_INSTALL_PDB)
|
||||
wx_install(FILES $<TARGET_PDB_FILE:${name}> DESTINATION "${runtime_dir}")
|
||||
if(wxBUILD_STRIPPED_RELEASE)
|
||||
wx_install(FILES $<TARGET_PDB_FILE:${name}> DESTINATION "${runtime_dir}" CONFIGURATIONS Debug RelWithDebInfo)
|
||||
else()
|
||||
wx_install(FILES $<TARGET_PDB_FILE:${name}> DESTINATION "${runtime_dir}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
wx_target_enable_precomp(${name} "${wxSOURCE_DIR}/include/wx/wxprec.h")
|
||||
|
||||
Reference in New Issue
Block a user