diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-05-24 12:41:47 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-05-23 21:41:47 -0700 |
| commit | f2b3221a031461621fead27d24a887ad35f00e96 (patch) | |
| tree | b96aeabac29e345bfa16d05729d04fe45e0ddf7a | |
| parent | 59b28986bfb2f9e813c578f508cc0786f8b2eb92 (diff) | |
| download | vcpkg-f2b3221a031461621fead27d24a887ad35f00e96.tar.gz vcpkg-f2b3221a031461621fead27d24a887ad35f00e96.zip | |
[libbf]Fix error message print judgment on windows. (#6577)
| -rw-r--r-- | ports/libbf/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libbf/portfile.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/libbf/CONTROL b/ports/libbf/CONTROL index 3b51a52e1..35ee0fbcc 100644 --- a/ports/libbf/CONTROL +++ b/ports/libbf/CONTROL @@ -1,3 +1,3 @@ Source: libbf -Version: 1.0.0 +Version: 1.0.0-1 Description: Bloom filters for C++11.
\ No newline at end of file diff --git a/ports/libbf/portfile.cmake b/ports/libbf/portfile.cmake index b339e94cc..c7a9ef42e 100644 --- a/ports/libbf/portfile.cmake +++ b/ports/libbf/portfile.cmake @@ -1,4 +1,4 @@ -if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") +if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Windows" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") message(FATAL_ERROR "libbf does not support MSVC") endif() |
