From: IOhannes m zmölnig Date: Sun, 15 May 2022 16:50:55 +0000 (+0100) Subject: link against system libpng/libjpeg X-Git-Tag: archive/raspbian/0.21.0-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3178cea2f426d7d855f4de8a1e57504484f79dc8;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 db418f0..8e75f5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -394,6 +394,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)