summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorBradley M. Kuhn <bkuhn@ebb.org>2012-09-06 19:25:09 -0400
committerBradley M. Kuhn <bkuhn@ebb.org>2012-09-06 19:25:09 -0400
commit5b916dae6c7cac78bb4a2100d814470fb7cd5649 (patch)
treed7e1135dd62b72b8729c1ec51487b0506e5f1ce8 /acprep
parent779378288f639ca4530901631c2ee91b67d8e286 (diff)
downloadfork-ledger-5b916dae6c7cac78bb4a2100d814470fb7cd5649.tar.gz
fork-ledger-5b916dae6c7cac78bb4a2100d814470fb7cd5649.tar.bz2
fork-ledger-5b916dae6c7cac78bb4a2100d814470fb7cd5649.zip
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.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep2
1 files changed, 1 insertions, 1 deletions
diff --git a/acprep b/acprep
index 1c05596f..83ff4ab2 100755
--- a/acprep
+++ b/acprep
@@ -847,7 +847,7 @@ class PrepareBuild(CommandLineApp):
self.options.boost_include)
if self.prefix_directory():
- conf_args.append('-DCMAKE_PREFIX_PATH=%s' % self.prefix_directory())
+ conf_args.append('-DCMAKE_INSTALL_PREFIX=%s' % self.prefix_directory())
return (environ, conf_args + self.configure_args)