From c3a28bce8c43c2ba7eea8b6caaf8d72f54147e3a Mon Sep 17 00:00:00 2001 From: Andreas Heuermann Date: Fri, 12 Jun 2020 12:50:33 +0200 Subject: [PATCH] Handle OMHOME with spaces in path - First fix for ticket #6004 --- OMCompiler/Compiler/Template/CodegenOMSIC.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OMCompiler/Compiler/Template/CodegenOMSIC.tpl b/OMCompiler/Compiler/Template/CodegenOMSIC.tpl index 33eb4e2675c..14ab7e113dc 100644 --- a/OMCompiler/Compiler/Template/CodegenOMSIC.tpl +++ b/OMCompiler/Compiler/Template/CodegenOMSIC.tpl @@ -151,8 +151,8 @@ template createMakefile(SimCode simCode, String target, String makeflieName) << # Makefile generated by OpenModelica - OMHOME=<%makefileParams.omhome%> - OMLIB=<%makefileParams.omhome%>/<%OMLibs%> + OMHOME='<%makefileParams.omhome%>' + OMLIB='<%makefileParams.omhome%>/<%OMLibs%>' CC=<%makefileParams.ccompiler%> CFLAGS= <%fPIC%>-Wall -Wextra -ansi -pedantic -g