mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 13:19:00 +08:00
41fdef7a16
Use write_basic_package_version_file() to create the libffiConfigVersion.cmake file. This allows detection of the libffi version using cmake. An example, where this is relevant is e.g. glib 2.62, with the following code in meson.build: libffi_dep = dependency('libffi', version : '>= 3.0.0', fallback : ['libffi', 'ffi_dep']) When the libffiConfigVersion.cmake file is present, the following output can be found in the meson-build.log: Run-time dependency libffi found: YES 3.1 |
||
---|---|---|
.. | ||
auto-define-static-macro.patch | ||
CMakeLists.txt | ||
CONTROL | ||
export-global-data.patch | ||
fficonfig.h | ||
libffiConfig.cmake.in | ||
portfile.cmake |