Skip to content

Commit

Permalink
Update 'Jpeg' package to v9e-p0 (cpp-pm#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
drodin authored Sep 18, 2022
1 parent 8a12a63 commit a55c95d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
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);
}

0 comments on commit a55c95d

Please sign in to comment.