mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 20:48:59 +08:00
b6b6a8b630
* update to 14.2.3 * remove trailing whitespace * update HEAD_REF * update deprecated functions * quote paths * update versioning * update baseline * update versioning * Use version rather than version-string. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
34 lines
796 B
CMake
34 lines
796 B
CMake
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DaanDeMeyer/reproc
|
|
REF v14.2.3
|
|
SHA512 acb3a0b90aca7bcfd1b0882b7094ba0f2f8dd8aa4a7c4a37d37780cebb23ef3c8842ca9a9aded337f607d832a95eed5cc7ccc120c64daef9a979a9d20aa07aad
|
|
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()
|
|
|
|
file(
|
|
INSTALL "${SOURCE_PATH}/LICENSE"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
|
RENAME copyright
|
|
)
|