vcpkg/ports/reproc/portfile.cmake
Robert Schumacher 08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00

34 lines
852 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO DaanDeMeyer/reproc
REF 62dd002f8bd85e369d5a02e3adb49f5b894d344d # v11.0.1
SHA512 d6d8cb53ab38c0f4c9a9add1068ef09f96674f8f64a6d1fc65cfc5790063570f6da2b8b80988785d5daa3640cde27949ab474bbc6f2cf7587f79c017ed43c621
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DREPROCXX=ON
-DREPROC_INSTALL_PKGCONFIG=OFF
-DREPROC_INSTALL_CMAKECONFIGDIR=share
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
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
)