43

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.

pushandpop
  • 585
  • 2
  • 6
  • 13

2 Answers2

61

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
Diego Lopez
  • 734
  • 7
  • 4
40

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

sudo pacman -S extra-cmake-modules
micfan
  • 103
  • 3
f3xy
  • 501
  • 4
  • 4