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:
parent
779378288f
commit
5b916dae6c
1 changed files with 1 additions and 1 deletions
2
acprep
2
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue