aboutsummaryrefslogtreecommitdiff
path: root/ports/pthreads
diff options
context:
space:
mode:
Diffstat (limited to 'ports/pthreads')
-rw-r--r--ports/pthreads/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/pthreads/portfile.cmake b/ports/pthreads/portfile.cmake
index fa7d4a326..3fb715aec 100644
--- a/ports/pthreads/portfile.cmake
+++ b/ports/pthreads/portfile.cmake
@@ -1,6 +1,10 @@
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP")
endif()
+if(VCPKG_CMAKE_SYSTEM_NAME)
+ set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+ return()
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/pthreads-w32-2-9-1-release)