2019-06-01 22:28:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO DaanDeMeyer/reproc
|
2023-11-06 00:58:30 +08:00
|
|
|
REF "v${VERSION}"
|
2021-11-05 03:59:49 +08:00
|
|
|
SHA512 c592521960f1950d626261738091d25efdf764ee1a0c72a58c28c66eaebf6073b2c978f1dc2c8dbe89b0be7ec1629a3a45cb1fafa0ebe21b5df8d4d27c992675
|
2021-10-05 08:20:02 +08:00
|
|
|
HEAD_REF main
|
2023-11-06 00:58:30 +08:00
|
|
|
PATCHES
|
|
|
|
fix-gcc13-build-error.patch #Please remove it in the next release version
|
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()
|
|
|
|
|
2023-11-06 00:58:30 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|