diff options
| author | Vitaly Petrov <v31337@gmail.com> | 2019-03-04 22:29:51 +0300 |
|---|---|---|
| committer | Vitaly Petrov <v31337@gmail.com> | 2019-03-04 22:29:51 +0300 |
| commit | d4e25169c15270bbca21de7ae910d083d81f105f (patch) | |
| tree | 523c486ea20e665a7dc451d6c92623f6007844df | |
| parent | b3e253e6dc837679fd404c942909770c4a6b98d2 (diff) | |
| download | vcpkg-d4e25169c15270bbca21de7ae910d083d81f105f.tar.gz vcpkg-d4e25169c15270bbca21de7ae910d083d81f105f.zip | |
[openblas] Remove restriction of build static lib on Linux
| -rw-r--r-- | ports/openblas/portfile.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ports/openblas/portfile.cmake b/ports/openblas/portfile.cmake index ef4e5e177..e7c9ead8a 100644 --- a/ports/openblas/portfile.cmake +++ b/ports/openblas/portfile.cmake @@ -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( |
