projects
/
giada.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9addd2d
)
link against system libpng/libjpeg
author
IOhannes m zmölnig
<umlaeute@debian.org>
Sat, 20 Aug 2022 06:54:15 +0000
(08:54 +0200)
committer
IOhannes m zmölnig (Debian/GNU)
<umlaeute@debian.org>
Sat, 20 Aug 2022 06:54:15 +0000
(08:54 +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 10aa3bf86dba6969dfd5e066459635b7c770335f..8e7638859a647935fcfa0a9fc00815aa1d47df03 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-410,6
+410,9
@@
list(APPEND LIBRARIES fmt::fmt)
#add_subdirectory(src/deps/json)
#list(APPEND LIBRARIES nlohmann_json::nlohmann_json)
+pkg_check_modules(JpegPng IMPORTED_TARGET libjpeg libpng)
+list(APPEND LIBRARIES PkgConfig::JpegPng)
+
# Catch (if tests enabled)
if (WITH_TESTS)