mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 08:19:08 +08:00
c9e786d81a
* Bulk remove vcpkg_fail_port_install calls. Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install", In support of https://github.com/microsoft/vcpkg/pull/21502 * Update version database. * Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728 * Repair version database.
32 lines
754 B
CMake
32 lines
754 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DaanDeMeyer/reproc
|
|
REF v14.2.4
|
|
SHA512 c592521960f1950d626261738091d25efdf764ee1a0c72a58c28c66eaebf6073b2c978f1dc2c8dbe89b0be7ec1629a3a45cb1fafa0ebe21b5df8d4d27c992675
|
|
HEAD_REF main
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DREPROC++=ON
|
|
-DREPROC_INSTALL_PKGCONFIG=OFF
|
|
-DREPROC_INSTALL_CMAKECONFIGDIR=share
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
foreach(TARGET reproc reproc++)
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME ${TARGET}
|
|
)
|
|
endforeach()
|
|
|
|
file(
|
|
INSTALL "${SOURCE_PATH}/LICENSE"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
|
RENAME copyright
|
|
)
|