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

Commit

Permalink
Add 'Jpeg' dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Nov 12, 2016
1 parent a68aa0c commit f0352cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ endif()

include("cmake/HunterGate.cmake")
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.10.4.tar.gz"
SHA1 "603c2b5f10c5b6e50628cd0b0cc5c1167cb36bfc"
URL "https://github.com/ruslo/hunter/archive/v0.16.24.tar.gz"
SHA1 "00ab627d3d4fe5151e15b6ab2b1b1da17650984a"
)

project(OpenCV CXX C)
Expand Down
1 change: 1 addition & 0 deletions cmake/OpenCVFindLibsGrfmt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ if(WITH_JPEG)
if(BUILD_JPEG)
ocv_clear_vars(JPEG_FOUND)
else()
hunter_add_package(Jpeg)
include(FindJPEG)
endif()

Expand Down
4 changes: 4 additions & 0 deletions cmake/templates/OpenCVConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,7 @@ endif()
if("@PNG_FOUND@")
find_dependency(PNG CONFIG)
endif()

if("@JPEG_FOUND@")
find_dependency(JPEG CONFIG)
endif()

0 comments on commit f0352cf

Please sign in to comment.