在project命令前设置:
set(VCPKG_TARGET_TRIPLET "x86-windows-static" CACHE STRING "" FORCE)
set(CMAKE_TOOLCHAIN_FILE "vcpkg\\scripts\\buildsystems\\vcpkg.cmake")
在project命令前设置:
set(VCPKG_TARGET_TRIPLET "x86-windows-static" CACHE STRING "" FORCE)
set(CMAKE_TOOLCHAIN_FILE "vcpkg\\scripts\\buildsystems\\vcpkg.cmake")