aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake b/vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake
new file mode 100644
index 0000000..9354a1e
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-pybind11/portfile.cmake
@@ -0,0 +1,10 @@
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+vcpkg_get_vcpkg_installed_python(PYTHON3)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${CURRENT_PORT_DIR}/project"
+ OPTIONS
+ "-DPython_EXECUTABLE=${PYTHON3}"
+)
+vcpkg_cmake_build()