build: rm vcpkg build_prefix* in vcpkg wx setup

Stop setting the build_prefix* variables as they are no longer used and
relying on build trees being available would break /installed caches
etc..

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-03-18 14:37:08 +00:00
parent a6affd3807
commit ec434a7c2f
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 0 additions and 5 deletions

View File

@ -126,11 +126,6 @@ if(WIN32 AND CMAKE_TOOLCHAIN_FILE MATCHES vcpkg AND (X86_32 OR X86_64))
set(dbg_prefix ${_VCPKG_INSTALLED_DIR}/${WINARCH}-windows${arch_suffix}/debug)
set(installed_prefix ${_VCPKG_INSTALLED_DIR}/${WINARCH}-windows${arch_suffix}/${path_prefix})
set(build_prefix_rel ${_VCPKG_ROOT_DIR}/buildtrees/wxwidgets/${WINARCH}-windows${build_suffix_rel})
set(build_prefix_dbg ${_VCPKG_ROOT_DIR}/buildtrees/wxwidgets/${WINARCH}-windows${build_suffix_dbg})
set(build_prefix ${_VCPKG_ROOT_DIR}/buildtrees/wxwidgets/${WINARCH}-windows${build_suffix})
include_directories(${installed_prefix}/lib/msw${libtype})
include_directories(${common_prefix}/include)
set(wxWidgets_LIB_DIR ${installed_prefix}/lib)