48

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.

2 Answers2

63

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

git clone https://invent.kde.org/frameworks/extra-cmake-modules.git 
cd extra-cmake-modules
mkdir build && cd build    
cmake ..
make && sudo make install
43

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

sudo pacman -S extra-cmake-modules
micfan
  • 103
f3xy
  • 531