Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit e9616ab

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
Fix for Windows builds
Belonging to [master]: - #3005
1 parent f337f6d commit e9616ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SimulationRuntime/c/Makefile.common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include Makefile.objs
1212

1313
LIBSIMULATIONFMI=libSimulationRuntimeFMI.a
1414
OMC_MINIMAL_RUNTIME=
15-
INCLUDE_NONFMI=-I$(builddir_inc)/c
15+
INCLUDE_NONFMI=-I$(builddir_inc)/c -I.
1616

1717
CPPFLAGS = -I$(top_builddir)/Compiler/runtime -I$(top_builddir)/3rdParty/gc/include -I$(top_builddir)/3rdParty/FMIL/install/include/ -I$(top_builddir)/3rdParty/lis-1.4.12/include/ -I$(top_builddir)/3rdParty/Ipopt/include/ -I$(builddir_inc)/c/sundials/ $(CONFIG_CPPFLAGS) -DGC_REDIRECT_TO_LOCAL
1818
override CFLAGS += $(CPPFLAGS) $(CONFIG_CFLAGS) $(EXTRA_CFLAGS)
@@ -228,7 +228,7 @@ $(INITIALIZATIONOBJSPATH):$(BUILDPATH)/%$(OBJ_EXT): %.c $(SOLVERHFILESPATH) $(IN
228228

229229
$(RESULTSOBJSPATH):$(BUILDPATH)/%$(OBJ_EXT): %.cpp $(RESULTSFILESPATH) $(COMMON_HEADERS)
230230
$(MKBUILDDIR)
231-
$(CXX) -c $(CXXFLAGS) $(INCLUDE_NONFMI) -o $@ $<
231+
$(CXX) -c $(CXXFLAGS) -o $@ $<
232232

233233
$(SIMOBJSPATH):$(BUILDPATH)/%$(OBJ_EXT): %.cpp linearization/linearize.cpp dataReconciliation/dataReconciliation.cpp $(SIMHFILESPATH) $(COMMON_HEADERS)
234234
$(MKBUILDDIR)

0 commit comments

Comments
 (0)