Skip to content

Commit df92703

Browse files
committed
Set restricted header policy in pthreads
1 parent 3aba1fe commit df92703

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ports/pthreads/portfile.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME)
88
return()
99
endif()
1010

11+
# The pthread port creates headers that are restricted by vcpkg under normal operation
12+
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
13+
1114
set(VERSION 2.9.1)
1215
string(REPLACE "." "-" PTHREADS_TAG ${VERSION})
1316

0 commit comments

Comments
 (0)