2019-06-01 22:28:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO DaanDeMeyer/reproc
|
2020-02-11 08:08:57 +08:00
|
|
|
REF 62dd002f8bd85e369d5a02e3adb49f5b894d344d # v11.0.1
|
|
|
|
SHA512 d6d8cb53ab38c0f4c9a9add1068ef09f96674f8f64a6d1fc65cfc5790063570f6da2b8b80988785d5daa3640cde27949ab474bbc6f2cf7587f79c017ed43c621
|
2019-06-01 22:28:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
2020-01-10 06:34:22 +08:00
|
|
|
-DREPROCXX=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
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
2020-01-10 06:34:22 +08:00
|
|
|
foreach(TARGET reproc reprocxx)
|
|
|
|
vcpkg_fixup_cmake_targets(
|
|
|
|
CONFIG_PATH share/${TARGET}
|
|
|
|
TARGET_PATH share/${TARGET}
|
|
|
|
)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
file(
|
|
|
|
INSTALL ${SOURCE_PATH}/LICENSE
|
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
|
|
|
RENAME copyright
|
|
|
|
)
|