diff options
| author | Wolfgang Stöggl <c72578@yahoo.de> | 2020-01-16 01:36:00 +0100 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2020-01-15 16:36:00 -0800 |
| commit | 41fdef7a168e80cd1a381870727f688c37cc9c0a (patch) | |
| tree | 3faf4baf46d854c2723efb352f7ddbbdcc846b85 /scripts/boost/post-source-stubs/python.cmake | |
| parent | 562515f3281b745ac18062499ff8f5147f021fce (diff) | |
| download | vcpkg-41fdef7a168e80cd1a381870727f688c37cc9c0a.tar.gz vcpkg-41fdef7a168e80cd1a381870727f688c37cc9c0a.zip | |
[libffi] Add libffiConfigVersion.cmake file (#8895)
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
Diffstat (limited to 'scripts/boost/post-source-stubs/python.cmake')
0 files changed, 0 insertions, 0 deletions
