Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Commit f0352cf

Browse files
committed
Add 'Jpeg' dependency
1 parent a68aa0c commit f0352cf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ endif()
8787

8888
include("cmake/HunterGate.cmake")
8989
HunterGate(
90-
URL "https://github.com/ruslo/hunter/archive/v0.10.4.tar.gz"
91-
SHA1 "603c2b5f10c5b6e50628cd0b0cc5c1167cb36bfc"
90+
URL "https://github.com/ruslo/hunter/archive/v0.16.24.tar.gz"
91+
SHA1 "00ab627d3d4fe5151e15b6ab2b1b1da17650984a"
9292
)
9393

9494
project(OpenCV CXX C)

cmake/OpenCVFindLibsGrfmt.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ if(WITH_JPEG)
7575
if(BUILD_JPEG)
7676
ocv_clear_vars(JPEG_FOUND)
7777
else()
78+
hunter_add_package(Jpeg)
7879
include(FindJPEG)
7980
endif()
8081

cmake/templates/OpenCVConfig.cmake.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,3 +421,7 @@ endif()
421421
if("@PNG_FOUND@")
422422
find_dependency(PNG CONFIG)
423423
endif()
424+
425+
if("@JPEG_FOUND@")
426+
find_dependency(JPEG CONFIG)
427+
endif()

0 commit comments

Comments
 (0)