summaryrefslogtreecommitdiff
path: root/Tools/Scripts/build-webkit
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/build-webkit')
-rwxr-xr-xTools/Scripts/build-webkit8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/Scripts/build-webkit b/Tools/Scripts/build-webkit
index b8a4bd1e2..fbaee1c0d 100755
--- a/Tools/Scripts/build-webkit
+++ b/Tools/Scripts/build-webkit
@@ -240,10 +240,6 @@ if (isInspectorFrontend()) {
}
if (isCMakeBuild() && (!isAnyWindows() || isQt())) {
- if ($shouldInstall) {
- $makeArgs .= ($makeArgs ? " " : "") . "install";
- }
-
# Visual Studio generator doesn't support -j switch
if (canUseNinja() || !isAnyWindows()) {
# By default we build using all of the available CPUs.
@@ -258,6 +254,10 @@ if (isCMakeBuild() && (!isAnyWindows() || isQt())) {
removeCMakeCache(@featureArgs);
buildCMakeProjectOrExit($clean, $prefixPath, $makeArgs, (cmakeBasedPortArguments(), @featureArgs), $cmakeArgs);
+
+ if ($shouldInstall) {
+ installCMakeProjectOrExit();
+ }
}
my $baseProductDir = baseProductDir();