mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 16:51:38 +08:00
reproc: Update to v10.0.2. (#9544)
This commit is contained in:
parent
891a840ffa
commit
cf2ecd51ef
@ -1,3 +1,4 @@
|
|||||||
Source: reproc
|
Source: reproc
|
||||||
Version: 9.0.0
|
Version: 10.0.3
|
||||||
Description: Cross-platform (C99/C++11) process library
|
Description: Cross-platform (C99/C++11) process library
|
||||||
|
Homepage: https://github.com/DaanDeMeyer/reproc
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
include(vcpkg_common_functions)
|
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO DaanDeMeyer/reproc
|
REPO DaanDeMeyer/reproc
|
||||||
REF v9.0.0
|
REF v10.0.3
|
||||||
SHA512 c9ab8c459f4cdf2b740edd461eefa2972a068078999ab97efff4473f1fae4dd774d00ea56cb33bdf883f78eb8d8b73aa721d35dd77e016b047cf4c9dadfee72b
|
SHA512 6d102962fbfb61b239d243fd38f7519c28cf7098e2e1a2bfd19035fa7152f4dcc51875683c76c1fa7274b786dde4b90873ae4a1eb6e5d9e485e6614ab06bf0d2
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,20 +10,24 @@ vcpkg_configure_cmake(
|
|||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DREPROC++=ON
|
-DREPROCXX=ON
|
||||||
-DREPROC_INSTALL_PKGCONFIG=OFF
|
-DREPROC_INSTALL_PKGCONFIG=OFF
|
||||||
|
-DREPROC_INSTALL_CMAKECONFIGDIR=share
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
file(GLOB REPROC_CMAKE_FILES ${CURRENT_PACKAGES_DIR}/lib/cmake/reproc++/*)
|
|
||||||
file(INSTALL ${REPROC_CMAKE_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc++)
|
|
||||||
file(INSTALL ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/reproc++/reproc++-targets-debug.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc++)
|
|
||||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/reproc)
|
|
||||||
|
|
||||||
# Debug
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
|
||||||
# Handle License
|
foreach(TARGET reproc reprocxx)
|
||||||
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc)
|
vcpkg_fixup_cmake_targets(
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/reproc/LICENSE ${CURRENT_PACKAGES_DIR}/share/reproc/copyright)
|
CONFIG_PATH share/${TARGET}
|
||||||
|
TARGET_PATH share/${TARGET}
|
||||||
|
)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
file(
|
||||||
|
INSTALL ${SOURCE_PATH}/LICENSE
|
||||||
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
||||||
|
RENAME copyright
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user