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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章