diff options
Diffstat (limited to 'ports/torch-th')
| -rw-r--r-- | ports/torch-th/CONTROL | 2 | ||||
| -rw-r--r-- | ports/torch-th/portfile.cmake | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/ports/torch-th/CONTROL b/ports/torch-th/CONTROL index 66e276b12..edaaef3d4 100644 --- a/ports/torch-th/CONTROL +++ b/ports/torch-th/CONTROL @@ -1,3 +1,3 @@ Source: torch-th -Version: 2019-04-19 +Version: 2019-04-19-1 Description: Torch's TH library diff --git a/ports/torch-th/portfile.cmake b/ports/torch-th/portfile.cmake index 8be10a4b6..2b653da22 100644 --- a/ports/torch-th/portfile.cmake +++ b/ports/torch-th/portfile.cmake @@ -1,12 +1,7 @@ -if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - message(FATAL_ERROR "scintilla only supports dynamic linkage") -endif() -if(VCPKG_CRT_LINKAGE STREQUAL "static") - message(FATAL_ERROR "scintilla only supports dynamic crt") -endif() - include(vcpkg_common_functions) +vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO torch/torch7 |
