Could not find a configuration file for package "ECM" that is compatible with requested version 1.5.0

I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version is unknowed. I tried to search on Google, but got nothing. I wanted to compile from source "kde frameworks" using this command:

cmake .. -DCMAKE_INSTALL_PREFIX=/home/john/QtProjects/KDEStuff/frameworkintegration/build/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_PREFIX_PATH=/home/john/Downloads/ 

P.S:
"/home/john/Downloads/" - where my *.cmake is.

1

2 Answers

Try to clone, compile and install the extra-cmake-modules KDE project. 

git clone cd extra-cmake-modules mkdir build && cd build cmake .. make && sudo make install 
5

In my case I simply had to install the extra-cmake-modules package.

sudo pacman -S extra-cmake-modules 
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like