Linux/KDE Plasma: Manjaro KDE (Kernel 5.6.10-3-MANJARO) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 SUMMARY When trying to build latte-dock-master, I was running into an issue with the cmake script. When trying to run the install.sh script, it was pointing to the wrong directory on my system specifically. STEPS TO REPRODUCE 1. Download git version of latte-dock 2. Extract components into folder 3. Make sure extra-cmake-modules is installed 4. Run install.sh script OBSERVED RESULT CMake Error at /usr/local/share/ECM/cmake/ECMConfig.cmake:11 (message):File or directory /usr/local/include/KF5 referenced by variablePlasmaQuick_INCLUDE_DIR does not exist !Call Stack (most recent call first):/usr/lib64/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake:45 (set_and_check)/usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package)CMakeLists.txt:22 (find_package) Work Around For My Issue The problem is that the script references /usr/local/include/KF5 which does not exist. KF5 is located in /usr/include/KF5 on my system. A quick fix I found is just to create a symlink between /usr/include/KF5 and /usr/local/include/KF5 ln -s /usr/include/KF5/ /usr/local/include/KF5/ After this, the install.sh script runs just fine. ADDITIONAL INFORMATION I'm not sure if this is a bug related to cmake or latte-dock specifically. (First bug report. Sorry if anything is wrong & please let me know if I can do anything better)
install script does not contain any such directory reference, the issue is with your distro some cmake kde frameworks directory reference is broken