[libbf]Fix error message print judgment on windows. (#6577)

This commit is contained in:
JackBoosY 2019-05-24 12:41:47 +08:00 committed by Phil Christensen
parent 59b28986bf
commit f2b3221a03
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
Source: libbf Source: libbf
Version: 1.0.0 Version: 1.0.0-1
Description: Bloom filters for C++11. Description: Bloom filters for C++11.

View File

@ -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") message(FATAL_ERROR "libbf does not support MSVC")
endif() endif()