diff options
| author | Peter Goodman <peter.goodman@gmail.com> | 2018-12-19 14:53:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-19 14:53:21 -0500 |
| commit | 222c629af4bdf4739ab0a50c375aa2875b83641f (patch) | |
| tree | 6115ccf07a745c6489da4e6393a68b7c7ab1dcb0 /scripts/toolchains | |
| parent | d40eb181742082f25c1de6a829552174ae0350d7 (diff) | |
| download | vcpkg-222c629af4bdf4739ab0a50c375aa2875b83641f.tar.gz vcpkg-222c629af4bdf4739ab0a50c375aa2875b83641f.zip | |
Change to 0/1 instead of OFF/ON
On newer CMake's, the following errors are reported:
```
CMake Warning (dev) at .... /vcpkg/installed/x64-osx/share/c-ares/c-ares-config.cmake:32 (if):
if given arguments:
"ON"
An argument named "ON" appears in a conditional statement. Policy CMP0012
is not set: if() recognizes numbers and boolean constants. Run "cmake
--help-policy CMP0012" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
```
Which corresponds to the following configured code:
```
if(ON)
set(c-ares_STATIC_LIBRARY c-ares::cares_static)
endif()
```
Diffstat (limited to 'scripts/toolchains')
0 files changed, 0 insertions, 0 deletions
