Open sergiomb2 opened 8 years ago
./kodi-pvr/pvr.filmon/FindJsonCpp.cmake ./kodi-pvr/pvr.stalker/FindJsonCpp.cmake ./kodi-pvr/pvr.argustv/FindJsonCpp.cmake ./kodi-pvr/pvr.pctv/FindJsonCpp.cmake
ping
This was recently brought up in the CMake issue tracker and it would seem that the problem stems from pkg-config automatically stripping out default system header search path (i.e. /usr/include
) from the Cflags. See this comment for the explanation. It would seem that FindJsonCpp.cmake
should not assume JSONCPP_INCLUDE_DIRS
is non-empty.
the important part of my previous commits mention here
+#https://github.com/kodi-pvr/pvr.argustv/issues/57 +find -name "FindJsonCpp.cmake" -exec sed -i 's/JSONCPP jsoncpp/JSONCPP json/g' {} ';'
+#https://github.com/kodi-pvr/pvr.argustv/issues/57 +find -name "FindJsonCpp.cmake" -exec sed -i 's/JSONCPP jsoncpp/JSONCPP json/g' {} ';'
https://github.com/kodi-pvr/pvr.argustv/blob/master/FindJsonCpp.cmake#L3 doesn't work
rpm -ql jsoncpp-devel
we got new files
cat /usr/lib64/pkgconfig/jsoncpp.pc
using :
pkg_check_modules (JSONCPP json)
works, by I don't understand why it works , but pass the missing: JSONCPP_INCLUDE_DIRS