Skip to content

Commit 2b941b3

Browse files
committed
Add missing header to setup.py
1 parent 271b27f commit 2b941b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "")
3434
set(PYTHON_MODULE_PREFIX ${PYTHON_MODULE_PREFIX} CACHE INTERNAL "")
3535
set(PYTHON_MODULE_EXTENSION ${PYTHON_MODULE_EXTENSION} CACHE INTERNAL "")
3636

37+
# NB: when adding a header don't forget to also add it to setup.py
3738
set(PYBIND11_HEADERS
3839
include/pybind11/attr.h
3940
include/pybind11/buffer_info.h

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
else:
1414
headers = [
1515
'include/pybind11/attr.h',
16+
'include/pybind11/buffer_info.h',
1617
'include/pybind11/cast.h',
1718
'include/pybind11/chrono.h',
1819
'include/pybind11/class_support.h',

0 commit comments

Comments
 (0)