diff --git a/recipe/build-pybind11-global.bat b/recipe/build-pybind11-global.bat index 4100ec3..af9cc7f 100644 --- a/recipe/build-pybind11-global.bat +++ b/recipe/build-pybind11-global.bat @@ -3,4 +3,7 @@ set PYBIND11_GLOBAL_SDIST=1 set PYBIND11_GLOBAL_PREFIX=Library %PYTHON% -m pip install . -vv --no-build-isolation --no-deps + +:: Copy the headers to the global include directory to match how the pip package behaves. +cp -r %PREFIX%/include/pybind11_global/* %PREFIX%/include if errorlevel 1 exit 1 diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 304936e..6419bde 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -21,7 +21,7 @@ source: - patches/0000_win_fix_paths.patch # [win] build: - number: 0 + number: 1 requirements: build: # [win]