2019-06-18 03:46:34 +10:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO oliora/ppconsul
|
2020-01-23 07:26:35 +11:00
|
|
|
REF 8aed30cae0e2df76d920b5cd77933604a4644ee9
|
|
|
|
SHA512 756f07c7c8099868fa181571941f511987088abc110ad5eda517ad591ed10b40532cd7b1541dbdad76c2617ce804a1dc26a121380f20f8e4a40e29063523cbbd
|
2019-06-18 03:46:34 +10:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES "cmake_build.patch"
|
|
|
|
)
|
|
|
|
|
2019-06-22 23:30:45 -07:00
|
|
|
# Force the use of the vcpkg installed versions
|
|
|
|
file(REMOVE_RECURSE ${SOURCE_PATH}/ext/json11)
|
|
|
|
file(REMOVE_RECURSE ${SOURCE_PATH}/ext/catch)
|
|
|
|
|
2019-06-18 03:46:34 +10:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
|
|
|
|
|
|
|
|
2020-01-20 09:28:16 -08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2019-06-18 03:46:34 +10:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2021-10-28 00:19:28 +02:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|