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

编译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

你可能感兴趣的:(Could not find a package configuration file provided by "ECM")