Skip to content

Commit

Permalink
libjpeg is a required dependency now
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Mar 9, 2022
1 parent 38eb603 commit 425a0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/jpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_library(external_jpeg INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_jpeg ALIAS external_jpeg)

if (DESKTOP_APP_USE_PACKAGED)
find_package(JPEG)
find_package(JPEG REQUIRED)
target_link_libraries(external_jpeg INTERFACE JPEG::JPEG)
elseif (WIN32)
target_include_directories(external_jpeg SYSTEM INTERFACE ${libs_loc}/mozjpeg)
Expand Down

0 comments on commit 425a0dc

Please sign in to comment.