From: IOhannes m zmölnig Date: Thu, 3 Mar 2022 14:40:12 +0000 (+0100) Subject: link against system libpng/libjpeg X-Git-Tag: archive/raspbian/0.20.1+ds1-1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d65693032bf6df594071073dfc79fddf85d9c569;p=giada.git link against system libpng/libjpeg Forwarded: not-needed Last-Update: 2021-12-20 Last-Update: 2021-12-20 Gbp-Pq: Name 06-system-jpg+png.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index debf061..eb30b66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -391,6 +391,9 @@ else() message("Libsamplerate library found in " ${LIBRARY_SAMPLERATE}) endif() +pkg_check_modules(JpegPng IMPORTED_TARGET libjpeg libpng) +list(APPEND LIBRARIES PkgConfig::JpegPng) + # Catch (if tests enabled) if (WITH_TESTS)