Could not find a package configuration file provided by "ECM"

版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/qq_32768743/article/details/88959534

编译konsole报错

CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.6.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.

解决

sudo apt install extra-cmake-modules

参考
https://segmentfault.com/q/1010000003023707

猜你喜欢

转载自blog.csdn.net/qq_32768743/article/details/88959534