From 84eef59129eb3cad75b1379afc6a3c6d622af76f Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 15 Sep 2016 14:01:47 +0300 Subject: [PATCH] Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. --- src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx index 8cca352..7eaae44 100644 --- a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx +++ b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx @@ -1931,7 +1931,11 @@ std::string HYBRIDPlugin_Hypothesis::GetFileName(const HYBRIDPlugin_Hypothesis* std::string HYBRIDPlugin_Hypothesis::GetExeName() { //call mg-hybrid.bash is script which assumes new project version(s) mg-hybrid.exe in the prerequisite base and special? licence. +#ifdef WIN32 + return "mg-hybrid.exe" +#else return "mg-hybrid.bash"; +#endif } //================================================================================ -- 2.39.2