Merge pull request #5007 from pgoodman/patch-1

[c-ares] Change to 0/1 instead of OFF/ON
This commit is contained in:
Phil Christensen 2018-12-22 23:33:50 -08:00 committed by GitHub
commit ff9e982d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -13,11 +13,11 @@ vcpkg_from_github(
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
set(CARES_STATIC ON)
set(CARES_SHARED OFF)
set(CARES_STATIC 1)
set(CARES_SHARED 0)
else()
set(CARES_STATIC OFF)
set(CARES_SHARED ON)
set(CARES_STATIC 0)
set(CARES_SHARED 1)
endif()
vcpkg_configure_cmake(