mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[libyuv] Fix build error on macOS with llvm 19 (#41174)
This commit is contained in:
parent
dd6fbdd22c
commit
2960d7d80e
@ -41,9 +41,9 @@ index 9a20941d..d161326c 100644
|
||||
|
||||
|
||||
# install the conversion tool, .so, .a, and all the header files
|
||||
-install ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
|
||||
-install ( TARGETS yuvconvert DESTINATION bin )
|
||||
-install ( TARGETS ${ly_lib_static} DESTINATION lib )
|
||||
-install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
|
||||
-install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin ARCHIVE DESTINATION lib )
|
||||
+if (BUILD_TOOLS)
|
||||
+ install(TARGETS yuvconvert yuvconstants)
|
||||
+endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
vcpkg_from_git(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
URL https://chromium.googlesource.com/libyuv/libyuv
|
||||
REF c21dda06dd8d19b6e50168c28c324c1f32e94407 # 6 commits after switch to 1895, reason: CMake changes
|
||||
REF a37e6bc81b52d39cdcfd0f1428f5d6c2b2bc9861 # 1896 Fixes build error on macOS Homebrew LLVM 19
|
||||
# Check https://chromium.googlesource.com/libyuv/libyuv/+/refs/heads/main/include/libyuv/version.h for a version!
|
||||
PATCHES
|
||||
cmake.diff
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "libyuv",
|
||||
"version": "1895",
|
||||
"version": "1896",
|
||||
"port-version": 1,
|
||||
"description": "libyuv is an open source project that includes YUV scaling and conversion functionality",
|
||||
"homepage": "https://chromium.googlesource.com/libyuv/libyuv",
|
||||
|
@ -5449,7 +5449,7 @@
|
||||
"port-version": 5
|
||||
},
|
||||
"libyuv": {
|
||||
"baseline": "1895",
|
||||
"baseline": "1896",
|
||||
"port-version": 1
|
||||
},
|
||||
"libzen": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "cb6412fd44057b52849ebf8807a0c339cb525104",
|
||||
"version": "1896",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9a0250bfbce25cfd98ed744db8528d4214fe3d56",
|
||||
"version": "1895",
|
||||
|
Loading…
Reference in New Issue
Block a user