mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
044f9b891f
* [new port] minio-cpp v0.0.1 * fix with vcpkg x-add-version --all * Update version database * fix deprecated functions * Update version database * Update ports/minio-cpp/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * minio-cpp:x64-osx=fail * Update version database * add patch file * Update version database * Revert "minio-cpp:x64-osx=fail" This reverts commit e296a672f58b586b468f3b1bf4ea0ed48f781490. * we still want to install pkgconfig file * fix version Co-authored-by: xuan.guo@atomdatatech.com <xuan.guo@atomdatatech.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
22 lines
681 B
CMake
22 lines
681 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO minio/minio-cpp
|
|
REF 0847e56f31e13d32c924029d5ffaa865f8396462
|
|
SHA512 47817c8acc92060afca5ebd7c9bc7c9a9e09a50046180d7d3d67993f207d295c90e491417702ebb1ab2b0a6e85a5fcc334054ce4f6d542cb42c3675b5aed1c3f
|
|
HEAD_REF main
|
|
PATCHES
|
|
fix_cmake_file.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_EXAMPLES=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|