mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:31:48 +08:00
2cb7bfd2ce
* Add libvhdi library to vcpkg * Fixed formatting. * version database. * Added license. * Fixed version formatting. * Updated version. * Fix osx build. * Added version. * Fixed config.h file. * Added versions. * Check for linux/fs.h * Added version. * Fix include. * Added version. * Fixed build. * Fixed formatting. * Added version. * Fixed dependencies. * Added version. * Fixed build. * Fixed formatting. * Added versions. * Revert "Added versions." This reverts commit94e0c97c74
. * Revert "Fixed formatting." This reverts commit29a8590ee0
. * Revert "Fixed build." This reverts commit63622e6c3d
. * Revert "Added version." This reverts commita9e0110664
. * Revert "Fixed dependencies." This reverts commitc0517a5f96
. * Use CMake again. * Fix MacOS build. * updated version. * Fixed CMake config. * Updated version.
34 lines
967 B
CMake
34 lines
967 B
CMake
set(LIB_FILENAME libvhdi-alpha-${VERSION}.tar.gz)
|
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
URLS "https://github.com/libyal/libvhdi/releases/download/${VERSION}/${LIB_FILENAME}"
|
|
FILENAME "${LIB_FILENAME}"
|
|
SHA512 5eddbb2ea5800f4427a9763b904b74d1b4a876844f0fb00a8e758c73424171ff7b52a821b1618ea575e9553e6ab357ce80884fab8503dcfc36343a32f80ecd02
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
SOURCE_PATH
|
|
ARCHIVE "${ARCHIVE}"
|
|
SOURCE_BASE "${VERSION}"
|
|
PATCHES macos_fixes.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libvhdi)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(
|
|
FILE_LIST "${SOURCE_PATH}/COPYING"
|
|
)
|
|
|
|
vcpkg_copy_pdbs()
|