Disable WX_USE_REL_AND_DBG under vcpkg as it doesnt really play nice with lib and debug/lib

This is usually fixed by the hackjob in vcpkg for the wxwidgets find module being so...crazy
This commit is contained in:
Mark Roszko 2025-06-14 15:06:57 -04:00
parent 4bfeddcc8d
commit 5f145d02bd

View File

@ -625,6 +625,10 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
set(WX_USE_REL_AND_DBG FALSE)
endif()
if( VCPKG_TOOLCHAIN )
set(WX_USE_REL_AND_DBG FALSE)
endif()
# Get configuration parameters from the name.
WX_GET_NAME_COMPONENTS(${wxWidgets_CONFIGURATION} PF UNV UCD DBG)