Merge topic 'cmake-gui-osx-install-command-line'
d2cf92ec
cmake-gui: Change --install to use /usr/local/bin by default (#15627)
This commit is contained in:
commit
bd5bf762c8
|
@ -86,7 +86,7 @@ int main(int argc, char** argv)
|
|||
#if defined(Q_OS_MAC)
|
||||
if (argc2 == 2 && strcmp(argv2[1], "--install") == 0)
|
||||
{
|
||||
return cmOSXInstall("/usr/bin");
|
||||
return cmOSXInstall("/usr/local/bin");
|
||||
}
|
||||
if (argc2 == 2 && cmHasLiteralPrefix(argv2[1], "--install="))
|
||||
{
|
||||
|
|
|
@ -425,7 +425,7 @@ void CMakeSetupDialog::doInstallForCommandLine()
|
|||
"\n"
|
||||
" PATH=\"%1\":\"$PATH\"\n"
|
||||
"\n"
|
||||
"Or, to install symlinks to '/usr/bin', run:\n"
|
||||
"Or, to install symlinks to '/usr/local/bin', run:\n"
|
||||
"\n"
|
||||
" sudo \"%2\" --install\n"
|
||||
"\n"
|
||||
|
|
Loading…
Reference in New Issue