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:
Brad King 2015-06-25 10:39:19 -04:00 committed by CMake Topic Stage
commit bd5bf762c8
2 changed files with 2 additions and 2 deletions

View File

@ -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="))
{

View File

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