[openblas] Enable static build on windows (#6519)

The latest version of openblas supports static builds on windows
This commit is contained in:
Sean Warren 2019-05-19 17:23:11 +10:00 committed by Phil Christensen
parent 84e19f1ce2
commit 030e74940c
2 changed files with 1 additions and 6 deletions

View File

@ -1,3 +1,3 @@
Source: openblas
Version: 0.3.6
Version: 0.3.6-1
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

View File

@ -16,11 +16,6 @@ if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
message(FATAL_ERROR "openblas can only be built for x64 currently")
endif()
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
set(CMAKE_CROSSCOMPILING OFF)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xianyi/OpenBLAS