aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/openblas/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/openblas/portfile.cmake b/ports/openblas/portfile.cmake
index e7c9ead8a..9aa269c90 100644
--- a/ports/openblas/portfile.cmake
+++ b/ports/openblas/portfile.cmake
@@ -16,7 +16,7 @@ if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
message(FATAL_ERROR "openblas can only be built for x64 currently")
endif()
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(MSVC)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message("openblas currenly only supports dynamic library linkage")
set(VCPKG_LIBRARY_LINKAGE "dynamic")