vcpkg/ports/vcpkg-cmake-config
2021-11-08 21:29:35 -08:00
..
copyright
portfile.cmake
README.md
vcpkg_cmake_config_fixup.cmake [vcpkg-cmake-config] Fix parsing of NO_PREFIX_CORRECTION (#21062) 2021-11-08 21:29:35 -08:00
vcpkg-port-config.cmake
vcpkg.json [vcpkg-cmake-config] Fix parsing of NO_PREFIX_CORRECTION (#21062) 2021-11-08 21:29:35 -08:00

vcpkg-cmake-config

vcpkg-cmake-config provides vcpkg_cmake_config_fixup(), a function which both:

  • Fixes common mistakes in port build systems, like using absolute paths
  • Merges the debug and release config files.

This function should almost always be used when a port has *config.cmake files, even when the buildsystem of the project is not CMake.