vcpkg/ports/vcpkg-cmake-config
nicole mazzuca 99e06a64ec
[rollup:2021-08-09] Rollup PR (#19469)
* [rollup:2021-08-09] PR #16706 (@JackBoosY)

[vcpkg_fixup_cmake_targets] Fix up OSX system development path

* [rollup:2021-08-09] PR #19238 (@strega-nil)

[scripts-audit] vcpkg_download_distfile

* [rollup:2021-08-09] PR #19239 (@strega-nil)

[scripts-audit] vcpkg_find_fortran

* [rollup:2021-08-09] PR #19338 (@strega-nil)

[tinyfiledialogs] Fix for good

* [rollup:2021-08-09] PR #19348 (@strega-nil)

[scripts-audit] vcpkg_fixup_pkgconfig

* fix ports.cmake with newer vcpkg_download_distfile

* fix vcpkg create

* move vcpkg_common_definitions down so that it's not incorrect

* fix vcpkg_internal_get_cmake_vars

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-08-16 13:42:31 -07:00
..
copyright
portfile.cmake
README.md
vcpkg_cmake_config_fixup.cmake [rollup:2021-08-09] Rollup PR (#19469) 2021-08-16 13:42:31 -07:00
vcpkg-port-config.cmake
vcpkg.json [rollup:2021-08-09] Rollup PR (#19469) 2021-08-16 13:42:31 -07: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.