diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ppconsul/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/ppconsul/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/ppconsul/portfile.cmake | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/ppconsul/portfile.cmake b/vcpkg/ports/ppconsul/portfile.cmake new file mode 100644 index 0000000..3f3abe7 --- /dev/null +++ b/vcpkg/ports/ppconsul/portfile.cmake @@ -0,0 +1,28 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO oliora/ppconsul + REF 8aed30cae0e2df76d920b5cd77933604a4644ee9 + SHA512 756f07c7c8099868fa181571941f511987088abc110ad5eda517ad591ed10b40532cd7b1541dbdad76c2617ce804a1dc26a121380f20f8e4a40e29063523cbbd + HEAD_REF master + PATCHES "cmake_build.patch" +) + +# Force the use of the vcpkg installed versions +file(REMOVE_RECURSE "${SOURCE_PATH}/ext/json11") +file(REMOVE_RECURSE "${SOURCE_PATH}/ext/catch") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH cmake) + + +file(INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + + +vcpkg_copy_pdbs() + +vcpkg_fixup_pkgconfig() |