jwiegley/ledger — pull request #77 by bkuhn (2012-09-06 23:28:23+00:00)
Title: Correct cmake variable for install prefix is "CMAKE_INSTALL_PREFIX", not "CMAKE_PREFIX_PATH".

CMAKE_PREFIX_PATH is for searching for other programs, not for the place
to install this one. Based on acprep's --help, I think the intention was
to use CMAKE_INSTALL_PREFIX here.

Details from cmake --help-full:

install
Specify rules to run at install time.
....
DESTINATION arguments specify the directory on disk to which a file
will be installed. If a full path (with a leading slash or drive
letter) is given it is used directly. If a relative path is given it
is interpreted relative to the value of CMAKE_INSTALL_PREFIX.

meanwhile:

CMAKE_PREFIX_PATH
Path used for searching by FIND_XXX(), with appropriate suffixes
added.

To quote the film, The Princess Bride: "You keep using that word. I don't think that word means what you think it means." :)