Skip to content

Commit

Permalink
More fumbling to try to get Windows to work
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed Apr 27, 2023
1 parent 0564a9f commit 2b1b4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org.lflang/src/org/lflang/generator/c/CCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private static List<String> cmakeOptions(TargetConfig targetConfig, FileConfig f
if (separator.equals("\\")) {
separator = "\\\\\\\\";
maybeQuote = "\\\"";
srcPath = srcPath.replaceAll("\\\\", "\\\\");
srcPath = srcPath.replaceAll("\\\\", "\\\\\\\\");
}
arguments.addAll(List.of(
"-DCMAKE_BUILD_TYPE=" + ((targetConfig.cmakeBuildType!=null) ? targetConfig.cmakeBuildType.toString() : "Release"),
Expand Down

0 comments on commit 2b1b4c2

Please sign in to comment.