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

Update 'Jpeg' package to v9e-p0 #618

Merged
merged 1 commit into from
Sep 18, 2022
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
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ hunter_default_version(Igloo VERSION 1.1.1-hunter)
hunter_default_version(IlmBase VERSION 2.5.1-p0)
hunter_default_version(Imath VERSION 3.1.5)
hunter_default_version(Immer VERSION 0.6.2-cf44615)
hunter_default_version(Jpeg VERSION 9c-p0)
hunter_default_version(Jpeg VERSION 9e-p0)
hunter_default_version(JsonSpirit VERSION 0.0.4-hunter)
hunter_default_version(KTX-Software VERSION 4.0.0-efc9f09-p0)
hunter_default_version(KhronosDataFormat VERSION 1.3.1-1f8c852-p3)
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/Jpeg/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ hunter_add_version(
42ff243ae28bdda5b4df5c47fb727272a534dc94
)

hunter_add_version(
PACKAGE_NAME
Jpeg
VERSION
"9e-p0"
URL
"https://github.com/cpp-pm/jpeg/archive/v9e-p0.tar.gz"
SHA1
58d2bc6beeaecf8f02cfd28c4b6d97cfeb5f5b16
)

hunter_add_version(
PACKAGE_NAME
Jpeg
Expand Down
7 changes: 7 additions & 0 deletions examples/Jpeg/foo.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#include <jpeglib.h>

int main() {
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;

cinfo.err = jpeg_std_error(&jerr);

jpeg_create_compress(&cinfo);
jpeg_destroy_compress(&cinfo);
}