summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/.gitignore3
-rw-r--r--subprojects/packagefiles/pybind11/meson.build7
-rw-r--r--subprojects/pybind11.wrap9
3 files changed, 18 insertions, 1 deletions
diff --git a/subprojects/.gitignore b/subprojects/.gitignore
index 391fde2c..0e194289 100644
--- a/subprojects/.gitignore
+++ b/subprojects/.gitignore
@@ -1,3 +1,4 @@
/googletest-release*
/libyuv
-/packagecache \ No newline at end of file
+/packagecache
+/pybind11
diff --git a/subprojects/packagefiles/pybind11/meson.build b/subprojects/packagefiles/pybind11/meson.build
new file mode 100644
index 00000000..1be47ca4
--- /dev/null
+++ b/subprojects/packagefiles/pybind11/meson.build
@@ -0,0 +1,7 @@
+project('pybind11', 'cpp',
+ version : '2.9.1',
+ license : 'BSD-3-Clause')
+
+pybind11_incdir = include_directories('include')
+
+pybind11_dep = declare_dependency(include_directories : pybind11_incdir)
diff --git a/subprojects/pybind11.wrap b/subprojects/pybind11.wrap
new file mode 100644
index 00000000..e8037a5d
--- /dev/null
+++ b/subprojects/pybind11.wrap
@@ -0,0 +1,9 @@
+[wrap-git]
+url = https://github.com/pybind/pybind11.git
+# This is the head of 'smart_holder' branch
+revision = aebdf00cd060b871c5a1e0c2cf4a333503dd0431
+depth = 1
+patch_directory = pybind11
+
+[provide]
+pybind11 = pybind11_dep