diff options
| author | myd7349 <myd7349@gmail.com> | 2019-07-02 18:13:44 +0800 |
|---|---|---|
| committer | myd7349 <myd7349@gmail.com> | 2019-07-02 18:13:44 +0800 |
| commit | 086c72777369e9a8db0a58e4ad43360b3b613c78 (patch) | |
| tree | 240047d021f2e08af14d58b8a6a5db4b6f0fda60 /ports/pthreads | |
| parent | 3efdcef0e62aa6df7ff9088c001cff8d47304386 (diff) | |
| parent | f15d52becf620a0b234b4b7735579b5415f8d7b7 (diff) | |
| download | vcpkg-086c72777369e9a8db0a58e4ad43360b3b613c78.tar.gz vcpkg-086c72777369e9a8db0a58e4ad43360b3b613c78.zip | |
Merge branch 'master' into rdkafka-init
Diffstat (limited to 'ports/pthreads')
| -rw-r--r-- | ports/pthreads/CONTROL | 1 | ||||
| -rw-r--r-- | ports/pthreads/portfile.cmake | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/ports/pthreads/CONTROL b/ports/pthreads/CONTROL index 70f3af246..e1b96a438 100644 --- a/ports/pthreads/CONTROL +++ b/ports/pthreads/CONTROL @@ -1,3 +1,4 @@ Source: pthreads Version: 3.0.0-1 +Homepage: https://sourceware.org/pub/pthreads-win32/ Description: pthreads for windows diff --git a/ports/pthreads/portfile.cmake b/ports/pthreads/portfile.cmake index 4debe0d26..393fefddc 100644 --- a/ports/pthreads/portfile.cmake +++ b/ports/pthreads/portfile.cmake @@ -1,14 +1,16 @@ -if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") - message(FATAL_ERROR "${PORT} does not currently support UWP") +include(vcpkg_common_functions) + +if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") + message(FATAL_ERROR "${PORT} does not currently support UWP platform nor ARM architectures") endif() -if(VCPKG_CMAKE_SYSTEM_NAME) + +if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") set(VCPKG_POLICY_EMPTY_PACKAGE enabled) return() endif() set(PTHREADS4W_VERSION "3.0.0") -include(vcpkg_common_functions) vcpkg_download_distfile(ARCHIVE URLS "https://sourceforge.net/projects/pthreads4w/files/pthreads4w-code-v${PTHREADS4W_VERSION}.zip/download" FILENAME "pthreads4w-code-v${PTHREADS4W_VERSION}.zip" |
