Update ports/openblas/portfile.cmake

Co-Authored-By: kafeg <v31337@gmail.com>
This commit is contained in:
Sean Warren 2019-03-06 15:20:03 +03:00 committed by GitHub
parent d4e25169c1
commit fdf36eb819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")