Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
2b941b38
Commit
2b941b38
authored
May 07, 2017
by
Jason Rhinelander
Browse files
Add missing header to setup.py
parent
271b27ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
setup.py
setup.py
+1
-0
No files found.
CMakeLists.txt
View file @
2b941b38
...
@@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "")
...
@@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "")
set
(
PYTHON_MODULE_PREFIX
${
PYTHON_MODULE_PREFIX
}
CACHE INTERNAL
""
)
set
(
PYTHON_MODULE_PREFIX
${
PYTHON_MODULE_PREFIX
}
CACHE INTERNAL
""
)
set
(
PYTHON_MODULE_EXTENSION
${
PYTHON_MODULE_EXTENSION
}
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
set
(
PYBIND11_HEADERS
include/pybind11/attr.h
include/pybind11/attr.h
include/pybind11/buffer_info.h
include/pybind11/buffer_info.h
...
...
setup.py
View file @
2b941b38
...
@@ -13,6 +13,7 @@ if os.environ.get('PYBIND11_USE_CMAKE'):
...
@@ -13,6 +13,7 @@ if os.environ.get('PYBIND11_USE_CMAKE'):
else
:
else
:
headers
=
[
headers
=
[
'include/pybind11/attr.h'
,
'include/pybind11/attr.h'
,
'include/pybind11/buffer_info.h'
,
'include/pybind11/cast.h'
,
'include/pybind11/cast.h'
,
'include/pybind11/chrono.h'
,
'include/pybind11/chrono.h'
,
'include/pybind11/class_support.h'
,
'include/pybind11/class_support.h'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment