mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 17:07:50 +08:00
2b20b27b0d
* [document] Fix the automatically generated document URL * [docs] Format all documents
18 lines
575 B
Markdown
18 lines
575 B
Markdown
# vcpkg_minimum_required
|
|
|
|
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_minimum_required.md).
|
|
|
|
Asserts that the version of the vcpkg program being used to build a port is later than the supplied date, inclusive.
|
|
|
|
## Usage
|
|
```cmake
|
|
vcpkg_minimum_required(VERSION 2021-01-13)
|
|
```
|
|
|
|
## Parameters
|
|
### VERSION
|
|
The date-version to check against.
|
|
|
|
## Source
|
|
[scripts/cmake/vcpkg\_minimum\_required.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_minimum_required.cmake)
|