From f2b3221a031461621fead27d24a887ad35f00e96 Mon Sep 17 00:00:00 2001 From: JackBoosY <47264268+JackBoosY@users.noreply.github.com> Date: Fri, 24 May 2019 12:41:47 +0800 Subject: [PATCH] [libbf]Fix error message print judgment on windows. (#6577) --- ports/libbf/CONTROL | 2 +- ports/libbf/portfile.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/libbf/CONTROL b/ports/libbf/CONTROL index 3b51a52e1e..35ee0fbcc1 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 b339e94cca..c7a9ef42e8 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()