Skip to content

Commit 54a7f61

Browse files
gravemaltejonahgraham
authored andcommitted
CMake: Fixed the correct path for starting 'cmake-gui'
This PR fixed the wrong source flag which was set by spawning the cmake-gui command. Closes #532
1 parent 5cedafe commit 54a7f61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/org.eclipse.cdt.cmake.ui/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.cdt.cmake.ui;singleton:=true
5-
Bundle-Version: 1.4.100.qualifier
5+
Bundle-Version: 1.4.200.qualifier
66
Bundle-Activator: org.eclipse.cdt.cmake.ui.internal.Activator
77
Bundle-Vendor: %providerName
88
Require-Bundle: org.eclipse.core.runtime,

cmake/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/internal/ui/properties/CMakePropertyPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void widgetSelected(SelectionEvent e) {
134134
String sourceDir = project.getLocation().toOSString();
135135
String buildDir = project.getLocation().append("build").append(configName).toOSString(); //$NON-NLS-1$
136136

137-
Runtime.getRuntime().exec(new String[] { "cmake-gui", "-H" + sourceDir, "-B" + buildDir }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
137+
Runtime.getRuntime().exec(new String[] { "cmake-gui", "-S" + sourceDir, "-B" + buildDir }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
138138
} catch (CoreException | IOException e1) {
139139
MessageDialog.openError(parent.getShell(),
140140
Messages.CMakePropertyPage_FailedToStartCMakeGui_Title,

0 commit comments

Comments
 (0)