mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:13:10 +08:00
222c629af4
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() ``` |
||
---|---|---|
.. | ||
CONTROL | ||
portfile.cmake |