зеркало из https://github.com/microsoft/vcpkg.git
[piex] fix mac build (#22600)
This commit is contained in:
Родитель
ce2ca4cd46
Коммит
888d8c0468
|
@ -17,6 +17,7 @@ add_library(image_type_recognition
|
|||
)
|
||||
|
||||
target_link_libraries(image_type_recognition binary_parse)
|
||||
target_compile_features(image_type_recognition PUBLIC cxx_std_11)
|
||||
|
||||
add_library(tiff_directory
|
||||
src/tiff_directory/tiff_directory.cc
|
||||
|
@ -30,6 +31,7 @@ add_library(piex
|
|||
)
|
||||
|
||||
target_link_libraries(piex tiff_directory image_type_recognition binary_parse)
|
||||
target_compile_features(piex PUBLIC cxx_std_11)
|
||||
|
||||
install(
|
||||
TARGETS piex
|
||||
|
|
|
@ -8,16 +8,15 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS_DEBUG
|
||||
-DDISABLE_INSTALL_HEADERS=ON
|
||||
-DDISABLE_INSTALL_HEADERS=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/piex RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/piex" RENAME copyright)
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
{
|
||||
"name": "piex",
|
||||
"version-string": "2019-07-11",
|
||||
"port-version": 1,
|
||||
"version-date": "2019-07-11",
|
||||
"port-version": 2,
|
||||
"description": "The Preview Image Extractor (PIEX) is designed to find and extract the largest",
|
||||
"homepage": "https://github.com/google/piex"
|
||||
"homepage": "https://github.com/google/piex",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1109,7 +1109,6 @@ pfring:x64-osx=fail
|
|||
# errors, and warnings trigger with the Linux kernel headers in the Azure images.
|
||||
pfring:x64-linux=fail
|
||||
physx:arm64-windows=fail
|
||||
piex:x64-osx=fail
|
||||
pixel:x64-uwp=fail
|
||||
pixel:x64-windows=fail
|
||||
pixel:x64-windows-static=fail
|
||||
|
|
|
@ -5278,7 +5278,7 @@
|
|||
},
|
||||
"piex": {
|
||||
"baseline": "2019-07-11",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"pistache": {
|
||||
"baseline": "2021-03-31",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f9f7ad5427c18be18708d00150fe9ca33dc30a8a",
|
||||
"version-date": "2019-07-11",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "08ede8e9e8ed0d849edd62a316b407041cc8d4aa",
|
||||
"version-string": "2019-07-11",
|
||||
|
|
Загрузка…
Ссылка в новой задаче