Skip to content

Commit e97dab5

Browse files
committed
Copy headers to prefix/include
1 parent 5291957 commit e97dab5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

recipe/build-pybind11-global.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
set PYBIND11_GLOBAL_SDIST=1
44
set PYBIND11_GLOBAL_PREFIX=Library
55
%PYTHON% -m pip install . -vv --no-build-isolation --no-deps
6+
7+
:: Copy the headers to the global include directory to match how the pip package behaves.
8+
robocopy %PREFIX%/include/pybind11_global/ %PREFIX%/include /E /Z /R:3 /W:5
69
if errorlevel 1 exit 1

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ source:
2121
- patches/0000_win_fix_paths.patch # [win]
2222

2323
build:
24-
number: 0
24+
number: 1
2525

2626
requirements:
2727
build: # [win]

0 commit comments

Comments
 (0)