aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/pybind11/CONTROL1
-rw-r--r--ports/pybind11/portfile.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/pybind11/CONTROL b/ports/pybind11/CONTROL
index b01861122..aba68cb6e 100644
--- a/ports/pybind11/CONTROL
+++ b/ports/pybind11/CONTROL
@@ -1,5 +1,6 @@
Source: pybind11
Version: 2.5.0
+Port-Version: 1
Homepage: https://github.com/pybind/pybind11
Description: pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.
Build-Depends: python3 (windows)
diff --git a/ports/pybind11/portfile.cmake b/ports/pybind11/portfile.cmake
index 0c8778a7f..7277205d2 100644
--- a/ports/pybind11/portfile.cmake
+++ b/ports/pybind11/portfile.cmake
@@ -27,6 +27,7 @@ vcpkg_configure_cmake(
)
vcpkg_install_cmake()
+vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/pybind11)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/)