Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libjpeg-turbo] Update usage #31071

Merged
merged 2 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions ports/libjpeg-turbo/usage
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
The package libjpeg-turbo is compatible with built-in CMake targets:
libjpeg-turbo is compatible with built-in implementation-agnostic CMake targets:

find_package(JPEG REQUIRED)
target_link_libraries(main PRIVATE ${JPEG_LIBRARIES})
target_include_directories(main PRIVATE ${JPEG_INCLUDE_DIR})
target_include_directories(main PRIVATE JPEG::JPEG)

libjpeg-turbo provides CMake targets for the TurboJPEG C API:

find_package(libjpeg-turbo CONFIG REQUIRED)
target_link_libraries(main PRIVATE libjpeg-turbo::turbojpeg)
1 change: 1 addition & 0 deletions ports/libjpeg-turbo/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "libjpeg-turbo",
"version": "2.1.5.1",
"port-version": 1,
"description": "libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems.",
"homepage": "https://github.com/libjpeg-turbo/libjpeg-turbo",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4114,7 +4114,7 @@
},
"libjpeg-turbo": {
"baseline": "2.1.5.1",
"port-version": 0
"port-version": 1
},
"libjuice": {
"baseline": "1.0.6",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libjpeg-turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2764640a1b2cc36636084470108de50f2b531085",
"version": "2.1.5.1",
"port-version": 1
},
{
"git-tree": "2b3b3fe0c258463586c0e421a2665ca1d2df9b4d",
"version": "2.1.5.1",
Expand Down