Skip to content

error.cmake.version.for.ios

Ruslan Baratov edited this page Sep 17, 2015 · 1 revision
What happens
  • CMake fatal error with message [hunter ** FATAL ERROR **] Using non-patched CMake version for iOS build
What to do
  • You need to build patched version of CMake and use it. See README.
> CMAKE_VERSION="3.2.1-ruslo"
> wget "https://github.com/ruslo/CMake/archive/v${CMAKE_VERSION}.tar.gz"
> tar xf "v${CMAKE_VERSION}.tar.gz"
> cd "CMake-${CMAKE_VERSION}"
> build.py --install --toolchain default --config Release --fwd "CMAKE_USE_SYSTEM_CURL=YES"
> export PATH="`pwd`/_install/default/bin:${PATH}"

Clone this wiki locally