Selaa lähdekoodia

ENH: allow continue if missing MSC configure file

Bill Hoffman 25 vuotta sitten
vanhempi
sitoutus
7ae5e97a3d
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 1 - 3
Source/MFCDialog/CMakeSetupDialog.cpp

@@ -261,11 +261,9 @@ void CMakeSetupDialog::OnOK()
   configSrc += "/CMakeSetupConfig.MSC";
   if(!config.Configure(configSrc.c_str()))
     { 
-    std::string error = "Error: in configuring system from: ";
+    std::string error = "Warning: MSC configure input not found: ";
     error += configSrc;
-    error += "\nProject NOT created!";
     ::MessageBox(0, error.c_str(), "config ERROR", MB_OK);
-    return;
     }