1 cmake 集成vcpkg需要在cmakelist.txt中增加工具链(注意 需要在project前增加)
SET(CMAKE_TOOLCHAIN_FILE "D:/vcpkg/scripts/buildsystems/vcpkg.cmake")
2 找不到boost目录,原因是find_package参数不对
正确的参数是 find_package(Boost REQUIRED COMPONENTS program_options system filesystem)
3 修改配置后配置正常