vcpkg/ports/loguru/vcpkg.json
mrlegohead0x45 91dd9ae821
[loguru] Add feature to build with fmt (#23242)
* [loguru] Add loguru[fmt] feature

Add fmt feature, with if checks to require and link fmt if it is specified

* [loguru] Replace deprecated functions

Remove deprecated functions vcpkg_install_cmake, vcpkg_fixup_cmake_targets, vcpkg_configure_cmake and replace them with vcpkg_cmake_install, vcpkg_cmake_config_fixup and vcpkg_cmake_configure respectively.
Also add vcpkg-cmake and vcpkg-cmake-config to vcpkg.json to provide the replacements

* [loguru] Update versioning files

* [loguru] Add CONFIG flag to find_package(fmt)

* Make suggested changes

* Update version database

* Make requested changes

* [loguru] Update version database
2022-04-08 15:23:48 -07:00

26 lines
492 B
JSON

{
"name": "loguru",
"version": "2.1.0",
"port-version": 3,
"description": "A lightweight and flexible C++ logging library",
"homepage": "https://github.com/emilk/loguru",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"fmt": {
"description": "Build with fmt support in non-header-only mode",
"dependencies": [
"fmt"
]
}
}
}