From 03099a6a304ee1cc64be4e47fa8c586738a7a956 Mon Sep 17 00:00:00 2001 From: Stefano Sinigardi Date: Wed, 9 Sep 2020 20:55:30 -0700 Subject: [PATCH] [pybind11] Fixup cmake information --- ports/pybind11/CONTROL | 1 + ports/pybind11/portfile.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/ports/pybind11/CONTROL b/ports/pybind11/CONTROL index b01861122535e4..aba68cb6e07168 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 0c8778a7f90fbb..7277205d240aa9 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/)