There is a CMake configure error in NetworkManagerQt 5.31.0 and 5.32.0: cmake . ... CMake Error in src/CMakeLists.txt: Target "KF5NetworkManagerQt" INTERFACE_INCLUDE_DIRECTORIES property contains path: "/tmp/Usq3jtpYBr/build/networkmanager-qt-5.31.0/src/SYSTEM" which is prefixed in the source directory. This error is caused by the change of CMakeLists.txt in 5.31.0.
I don't have this error when running cmake. Also our CI is not complaining about that change. Are you sure the problem is not on your side?
It's reproduced on my Fedora 21 (x86_64, CMake 3.7.0). Other libraries from the KDE Frameworks (Tier 1) are built fine. CMake command line: cmake .. -DCMAKE_PREFIX_PATH='/home/Soft/Qt-5.7.1/' This sed command fixes the issue: sed -i -e 's/ SYSTEM//' src/CMakeLists.txt sed -i -e 's/ SYSTEM PUBLIC//' src/CMakeLists.txt Thank you.
Maybe try with newer cmake? I suppose that with Fedora 21 your cmake is quite old.
I'm not sure it is related, but there is something off here as well with the way nm-qt's cmake config inherits dependencies from glib: https://bugs.gentoo.org/695788 KF5::NetworkManagerQt INTERFACE_INCLUDE_DIRECTORIES ends up with the following content: "${_IMPORT_PREFIX}/include/KF5/NetworkManagerQt;/usr/include/libnm;/usr/include/libmount;/usr/include/blkid;/usr/lib64/libffi-3.3_rc0/include;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include;${_IMPORT_PREFIX}/include/KF5" libffi presumably because of "Requires.private: libffi >= 3.0.0" in gobject-2.0.pc
Nevermind, my issue comes from meson producing glib pkgconfig files that leak Requires.private into reverse deps.
The relevant CMake code changed a bit since then. Please open a new report when you are still having build issues