vcpkg/ports/pocketpy/fix-conflict.patch
JonLiu1993 547252439a
[vcpkg baseline][pocketpy] Don't install include/pybind11/* (#39571)
Detected by
https://dev.azure.com/vcpkg/public/_build/results?buildId=104413&view=results

```
error: The following files are already installed in /mnt/vcpkg-ci/installed/x64-linux and are in conflict with pocketpy:x64-linux
Installed by pybind11:x64-linux  
include/pybind11/embed.h
    include/pybind11/functional.h
    include/pybind11/operators.h
    include/pybind11/pybind11.h
    include/pybind11/stl.h
```

Broken by https://github.com/microsoft/vcpkg/pull/39510, in which
pybind11 support was added.
2024-06-28 16:15:51 -07:00

15 lines
424 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed02678..9297b20 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,8 @@ if (PK_INSTALL)
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
DESTINATION include
FILES_MATCHING PATTERN "*.h"
- PATTERN "typings" EXCLUDE
+ PATTERN "typings" EXCLUDE
+ PATTERN "pybind11" EXCLUDE
)
# generate config.cmake