Skip to content

Instantly share code, notes, and snippets.

@jplomas
Created November 8, 2018 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jplomas/dcda0958ae5c0249913e513b967e4299 to your computer and use it in GitHub Desktop.
Save jplomas/dcda0958ae5c0249913e513b967e4299 to your computer and use it in GitHub Desktop.
Fix OSX build
which cmake
... probably shows version 3.12.4 -- which has some breaking changed. To fix:
brew remove cmake
brew install wget
wget https://cmake.org/files/v3.10/cmake-3.10.3-Darwin-x86_64.tar.gz
tar xf cmake-3.10.3-Darwin-x86_64.tar.gz
export PATH="`pwd`/cmake-3.10.3-Darwin-x86_64/CMake.app/Contents/bin:$PATH"
which cmake
... should now show version 3.10.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment