projects
/
giada.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7051eee
)
link against system libpng/libjpeg
author
IOhannes m zmölnig
<umlaeute@debian.org>
Thu, 3 Mar 2022 14:40:12 +0000
(15:40 +0100)
committer
IOhannes m zmölnig (Debian/GNU)
<umlaeute@debian.org>
Thu, 3 Mar 2022 14:40:12 +0000
(15:40 +0100)
Forwarded: not-needed
Last-Update: 2021-12-20
Last-Update: 2021-12-20
Gbp-Pq: Name 06-system-jpg+png.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index debf0616ec6fcf5590f96e4bebf68e91d05a5f6e..eb30b664b5ecd93ff75a288128ee0502688f87e0 100644
(file)
--- 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)