Fixed build.

This commit is contained in:
Tom Chengich 2024-01-07 21:12:28 +02:00
parent a9e0110664
commit 63622e6c3d
2 changed files with 21 additions and 20 deletions

View File

@ -15,7 +15,7 @@ vcpkg_extract_source_archive(
if (VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
vcpkg_msbuild_install(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH "msvscpp/libvhdi.sln"
PROJECT_SUBPATH "msvscpp/libvhdi/libvhdi.vcproj"
)
else()
vcpkg_configure_make(
@ -35,4 +35,4 @@ vcpkg_install_copyright(
FILE_LIST "${SOURCE_PATH}/COPYING"
)
vcpkg_copy_pdbs()
vcpkg_copy_pdbs()

View File

@ -1,18 +1,19 @@
{
"name": "libvhdi",
"version": "20231127",
"description": "Library and tools to access the Virtual Hard Disk (VHD) image format ",
"homepage": "https://github.com/libyal/libvhdi",
"supports": "!uwp",
"dependencies": [
{
"name": "gettext",
"host": true
},
{
"name": "vcpkg-msbuild",
"host": true,
"platform": "windows"
}
]
}
{
"name": "libvhdi",
"version": "20231127",
"description": "Library and tools to access the Virtual Hard Disk (VHD) image format ",
"homepage": "https://github.com/libyal/libvhdi",
"supports": "!uwp",
"dependencies": [
"gettext",
{
"name": "gettext",
"host": true
},
{
"name": "vcpkg-msbuild",
"host": true,
"platform": "windows"
}
]
}