projects
/
giada.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0196d9
)
link against system libpng/libjpeg
author
IOhannes m zmölnig
<umlaeute@debian.org>
Wed, 2 Feb 2022 18:08:36 +0000
(19:08 +0100)
committer
IOhannes m zmölnig (Debian/GNU)
<umlaeute@debian.org>
Wed, 2 Feb 2022 18:08:36 +0000
(19:08 +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 fe5a52eb7092cd65054402fb49ed6bd4413ab868..a066d3268c04d7f6f28eba4d852d7217a80cd86c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-387,6
+387,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)