projects
/
giada.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a58007
)
link against system libpng/libjpeg
author
IOhannes m zmölnig
<umlaeute@debian.org>
Sun, 15 May 2022 16:50:55 +0000
(18:50 +0200)
committer
Dennis Braun
<d_braun@kabelmail.de>
Sun, 15 May 2022 16:50:55 +0000
(18:50 +0200)
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 db418f07bcac77a86368e639f7668034545d5135..8e75f5fa5d5a9debf005d999d86fba90436f948e 100644
(file)
--- 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)