openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libyuv / link-library-against-libjpeg.patch
blobd0f3d29684623f5cc63f0f4ff1ebfb25892770bd
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 636531ee..af1b0e4e 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -39,6 +39,7 @@ INCLUDE ( FindJPEG )
6 if (JPEG_FOUND)
7 include_directories( ${JPEG_INCLUDE_DIR} )
8 target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
9 + target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
10 add_definitions( -DHAVE_JPEG )
11 endif()