2021-10-05 08:20:02 +08:00
|
|
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
|
2019-06-01 22:28:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO DaanDeMeyer/reproc
|
2021-10-05 08:20:02 +08:00
|
|
|
REF v14.2.3
|
|
|
|
SHA512 acb3a0b90aca7bcfd1b0882b7094ba0f2f8dd8aa4a7c4a37d37780cebb23ef3c8842ca9a9aded337f607d832a95eed5cc7ccc120c64daef9a979a9d20aa07aad
|
|
|
|
HEAD_REF main
|
2019-06-01 22:28:38 +08:00
|
|
|
)
|
|
|
|
|
2021-10-05 08:20:02 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-06-01 22:28:38 +08:00
|
|
|
OPTIONS
|
2020-04-04 01:27:19 +08:00
|
|
|
-DREPROC++=ON
|
2019-10-03 07:02:55 +08:00
|
|
|
-DREPROC_INSTALL_PKGCONFIG=OFF
|
2020-01-10 06:34:22 +08:00
|
|
|
-DREPROC_INSTALL_CMAKECONFIGDIR=share
|
2019-06-01 22:28:38 +08:00
|
|
|
)
|
|
|
|
|
2021-10-05 08:20:02 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-06-01 22:28:38 +08:00
|
|
|
|
2021-10-05 08:20:02 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-06-01 22:28:38 +08:00
|
|
|
|
2020-04-04 01:27:19 +08:00
|
|
|
foreach(TARGET reproc reproc++)
|
2021-10-05 08:20:02 +08:00
|
|
|
vcpkg_cmake_config_fixup(
|
|
|
|
PACKAGE_NAME ${TARGET}
|
2020-01-10 06:34:22 +08:00
|
|
|
)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
file(
|
2021-10-05 08:20:02 +08:00
|
|
|
INSTALL "${SOURCE_PATH}/LICENSE"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
2020-01-10 06:34:22 +08:00
|
|
|
RENAME copyright
|
|
|
|
)
|