mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
28 lines
698 B
CMake
28 lines
698 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DaanDeMeyer/reproc
|
|
REF "v${VERSION}"
|
|
SHA512 d6c8abfc4fbef894310f4ad6250ddf269279bce13954ba6bc0147e0bf7e08f5a5e924ba079205881d6bf1dfe865e5f4389517d6d3bbafdede24ed328c549a991
|
|
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()
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|