numenta/nupic.core — pull request #170 by oxtopus (2014-09-03 03:09:21+00:00)
Title: Standardize on CMAKE_INSTALL_PREFIX

CMake uses `CMAKE_INSTALL_PREFIX` to let the user specify installation prefix. This changes usage of `PROJECT_BUILD_RELEASE_DIR` to `CMAKE_INSTALL_PREFIX` while preserving backward compatibility.

To install to a custom path:

`cmake -DCMAKE_INSTALL_PREFIX= ../../src`

If no `CMAKE_INSTALL_PREFIX` specified, installation prefix will be ../release as before.

cc: @scottpurdy This is part of a broader change affecting numenta/nupic re: numenta/nupic#1234