aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-04-24 01:04:42 +0200
committerGitHub <noreply@github.com>2021-04-23 16:04:42 -0700
commit49f1d5ac3428072500280bb4cfc8263aff3d4b3a (patch)
tree6510ab040683e674284875ab842eea5d225c9c3e /ports
parentbb0b48e4ce3bc0dbb01f849e4d491ec1e2d751fd (diff)
downloadvcpkg-49f1d5ac3428072500280bb4cfc8263aff3d4b3a.tar.gz
vcpkg-49f1d5ac3428072500280bb4cfc8263aff3d4b3a.zip
[pthreads] Make port empty on mingw (#17318)
* Make pthreads an empty package for mingw * x-add-version
Diffstat (limited to 'ports')
-rw-r--r--ports/pthreads/portfile.cmake2
-rw-r--r--ports/pthreads/vcpkg.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/pthreads/portfile.cmake b/ports/pthreads/portfile.cmake
index 52dc6c663..47493940e 100644
--- a/ports/pthreads/portfile.cmake
+++ b/ports/pthreads/portfile.cmake
@@ -1,4 +1,4 @@
-if(NOT VCPKG_TARGET_IS_WINDOWS)
+if(NOT VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW)
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
return()
endif()
diff --git a/ports/pthreads/vcpkg.json b/ports/pthreads/vcpkg.json
index 3c5301d76..77b950b14 100644
--- a/ports/pthreads/vcpkg.json
+++ b/ports/pthreads/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "pthreads",
"version": "3.0.0",
- "port-version": 8,
+ "port-version": 9,
"description": "pthreads for windows",
"homepage": "https://sourceware.org/pub/pthreads-win32/"
}