aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-09-11 12:48:28 -0700
committerGitHub <noreply@github.com>2020-09-11 12:48:28 -0700
commitd923820d7bfdd30b65caa885b04a6b1480763213 (patch)
treebd39171b7125aa864fe2476236346b517897de77
parent99a74a7bd0ed70d3a78f766df87423768f98e767 (diff)
downloadvcpkg-d923820d7bfdd30b65caa885b04a6b1480763213.tar.gz
vcpkg-d923820d7bfdd30b65caa885b04a6b1480763213.zip
[pybind11] Fixup cmake information (#13443)
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
-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/)