aboutsummaryrefslogtreecommitdiff
path: root/docs/maintainers/vcpkg_test_cmake.md
blob: 15b3ad797b2ad92899e40a174b056b8eb6282e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vcpkg_test_cmake

Tests a built package for CMake `find_package()` integration.

## Usage:
```cmake
vcpkg_test_cmake(PACKAGE_NAME <name> [MODULE])
```

## Parameters:

### PACKAGE_NAME
The expected name to find with `find_package()`.

### MODULE
Indicates that the library expects to be found via built-in CMake targets.


## Source
[scripts/cmake/vcpkg_test_cmake.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_test_cmake.cmake)