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.
This commit is contained in:
Bradley M. Kuhn 2012-09-06 19:25:09 -04:00
parent 779378288f
commit 5b916dae6c

2
acprep
View file

@ -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)