[openblas] Remove restriction of build static lib on Linux

This commit is contained in:
Vitaly Petrov 2019-03-04 22:29:51 +03:00
parent b3e253e6dc
commit d4e25169c1

View File

@ -16,9 +16,11 @@ if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
message(FATAL_ERROR "openblas can only be built for x64 currently")
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message("openblas currenly only supports dynamic library linkage")
set(VCPKG_LIBRARY_LINKAGE "dynamic")
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message("openblas currenly only supports dynamic library linkage")
set(VCPKG_LIBRARY_LINKAGE "dynamic")
endif()
endif()
vcpkg_from_github(