thirdparty: lcms2: append flags found by pkg-config if available 867/head
authorPeter Seiderer <ps.report@gmx.net>
Fri, 11 Nov 2016 22:35:13 +0000 (23:35 +0100)
committerPeter Seiderer <ps.report@gmx.net>
Mon, 4 Jan 2021 16:13:03 +0000 (17:13 +0100)
commitb6f0e41399f2e67117de2641b169f4400260be57
tree754e4487d5cd8ea679f0bf389683e74ea472e1fb
parent07a454324cfeb431ee3fc3799df522dff252b12b
thirdparty: lcms2: append flags found by pkg-config if available

This change allows to get all required CFLAGS/LDFLAGS in case of static only
build.

Fixes a buildroot build failure (see [1], [2] and [3]).

[1] http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57
[2] http://lists.busybox.net/pipermail/buildroot/2016-November/177187.html
[3] http://lists.busybox.net/pipermail/buildroot/2016-November/177188.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Depends on https://github.com/uclouvain/openjpeg/pull/866
thirdparty/CMakeLists.txt