"dependencies": [ {"name":"vcpkg-cmake-config","host":true} ] 此外,更正目标常见问题,例如绝对路径和错误放置的二进制文件。 对于许多端口,vcpkg_cmake_config_fixup()本身应正常工作,因为PACKAGE_NAME默认为${PORT}且CONFIG_PATH默认为share/${PACKAGE_NAME}。 对于传递给find_package的包名称与端口名不...
[cmake] ...\vcpkg-registry\ports/PROJECT/0.6.26.1\portfile.cmake: warning: There should be no absolute paths, such as the following, in an installed package. To suppress this message, add set(VCPKG_POLICY_SKIP_ABSOLUTE_PATHS_CHECK enabled) [cmake] note: D:\vcpkg\packages [cmake] note...
vcpkg_cmake_config_fixup( [PACKAGE_NAME <name>] [CONFIG_PATH <config-directory>] [TOOLS_PATH <tools/${PORT}>] [DO_NOT_DELETE_PARENT_CONFIG_PATH] [NO_PREFIX_CORRECTION] ) @@ -36,8 +37,8 @@ and applies a rather simply correction which in some cases will yield the wrong 1. Moves...
git lfs clone https://github.com/microsoft/vcpkg --branch master --depth 1 cd vcpkg && bootstrap-vcpkg.bat git fetch origin master --unshallow 2,参考微软文档(vcpkg in CMake projects | Microsoft Learn),我们需要在cmake config project这一步,插入一行命令,我的repo地址是D:\GItrepo-My\vcpkg -...
CMAKE_INSTALL_BINDIR:STRING=bin //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/Users/<user>/vcpkg/packages/tbb_x64-mingw-static //No help, variable specified...
"dependencies": [ {"name":"vcpkg-cmake-config","host":true} ] 此外,更正目標的常見問題,例如絕對路徑和不正確的二進位檔。 對於許多埠,vcpkg_cmake_config_fixup()其本身應該運作,預設PACKAGE_NAME${PORT}為 ,預設CONFIG_PATH為share/${PACKAGE_NAME}。 對於傳遞至find_package的套件名稱與埠名稱不同的...
vcpkg-cmake-config_x64-windows 2022.2.6-vcpkg078521f8fc939f749e649cf7f562f0080e700ee970e47f05831751fc634c0a0a Latest NOT FOR DIRECT USE. Automatically generated cache package. Version: 2022-02-06#1 Triplet: x64-windows CXX Compiler id: MSVC CXX Compiler version: 19.29.30154.0 Triplet/...
Describe the bug Usage of vcpkg.cmake in cmake arg -DCMAKE_TOOLCHAIN_FILE results in an error regarding missing PkgConfigure. Environment OS: Appveyor image: Visual Studio 2017 (Windows 10) Compiler: vcpkg 2019.09.12-nohash To Reproduce ...
vcpkg_buildpath_length_warning vcpkg_check_features vcpkg_check_linkage vcpkg_clean_executables_in_bin vcpkg_clean_msbuild vcpkg_cmake_build vcpkg_cmake_config_fixup vcpkg_cmake_configure vcpkg_cmake_get_vars vcpkg_cmake_install vcpkg_configure_cmake vcpkg_configure_gn vcpkg_configure_make vcpkg_...
vcpkg_cmake_config_fixup( [PACKAGE_NAME <name>] [CONFIG_PATH <config-directory>] [TOOLS_PATH <tools/${PORT}>] [DO_NOT_DELETE_PARENT_CONFIG_PATH] [NO_PREFIX_CORRECTION] ) To use this function, you must depend on the helper portvcpkg-cmake-config: ...