Skip to content

Instantly share code, notes, and snippets.

@MVoz
Last active May 12, 2018 16:19
Show Gist options
  • Save MVoz/b87e49a46a2477fde77e8ff9650775b7 to your computer and use it in GitHub Desktop.
Save MVoz/b87e49a46a2477fde77e8ff9650775b7 to your computer and use it in GitHub Desktop.
FindLZMA.cmake not faund

если возникает такая ошибка

By not providing "FindLZMA.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LZMA", but CMake did not find one.

Could not find a package configuration file provided by "LZMA" with any of the following names:

LZMAConfig.cmake
lzma-config.cmake

Add the installation prefix of "LZMA" to CMAKE_PREFIX_PATH or set "LZMA_DIR" to a directory containing one of the above files. If "LZMA" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:95 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

идем в папку к смаке, далее в модули

C:\Program Files\CMake\share\cmake-3.11\Modules

copy FindLibLZMA.cmake FindLZMA.cmake

build ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment