CMakeLists: fix import of external jansson and utf8cpp #7982

Open
gerion0 wants to merge 1 commit from gerion0/gentoo-fixes into master

1 commit

Author SHA1 Message Date
Gerion Entrup
905b161487 CMakeLists: import jansson with pkgconfig
Upstream jansson offers compiling with autotools and CMake.
If it is compiled with autotools (the recommended way) it does only
provide a pkgconfig file and not a cmake file.
This is also the way most distributions provide jansson, so this commit
changes the behavior to use pkgconfig, too.

Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
2024-04-25 22:42:07 +02:00