mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
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
This commit is contained in:
parent
5cedafe3e0
commit
54a7f61a68
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.cmake.ui;singleton:=true
|
||||
Bundle-Version: 1.4.100.qualifier
|
||||
Bundle-Version: 1.4.200.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.cmake.ui.internal.Activator
|
||||
Bundle-Vendor: %providerName
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
|
|
|
@ -134,7 +134,7 @@ public class CMakePropertyPage extends PropertyPage {
|
|||
String sourceDir = project.getLocation().toOSString();
|
||||
String buildDir = project.getLocation().append("build").append(configName).toOSString(); //$NON-NLS-1$
|
||||
|
||||
Runtime.getRuntime().exec(new String[] { "cmake-gui", "-H" + sourceDir, "-B" + buildDir }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
Runtime.getRuntime().exec(new String[] { "cmake-gui", "-S" + sourceDir, "-B" + buildDir }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
} catch (CoreException | IOException e1) {
|
||||
MessageDialog.openError(parent.getShell(),
|
||||
Messages.CMakePropertyPage_FailedToStartCMakeGui_Title,
|
||||
|
|
Loading…
Add table
Reference in a new issue