diff --git a/CMakeLists.txt b/CMakeLists.txt index 8af2f419..ee2d0fdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "") set(PYTHON_MODULE_PREFIX ${PYTHON_MODULE_PREFIX} CACHE INTERNAL "") set(PYTHON_MODULE_EXTENSION ${PYTHON_MODULE_EXTENSION} CACHE INTERNAL "") +# NB: when adding a header don't forget to also add it to setup.py set(PYBIND11_HEADERS include/pybind11/attr.h include/pybind11/buffer_info.h diff --git a/setup.py b/setup.py index 0cf4e47c..517818e7 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ if os.environ.get('PYBIND11_USE_CMAKE'): else: headers = [ 'include/pybind11/attr.h', + 'include/pybind11/buffer_info.h', 'include/pybind11/cast.h', 'include/pybind11/chrono.h', 'include/pybind11/class_support.h',