Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RuedKamp committed Oct 22, 2015
2 parents 6d1f025 + 85dda17 commit b99d59c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Compiler/Template/CodegenFMUCpp.tpl
Expand Up @@ -118,7 +118,6 @@ template fmuCalcHelperMainfile(SimCode simCode)
#include "OMCpp<%fileNamePrefix%>FMU.h"

#include "OMCpp<%fileNamePrefix%>AlgLoopMain.cpp"
#include "OMCpp<%fileNamePrefix%>FactoryExport.cpp"
#include "OMCpp<%fileNamePrefix%>Extension.cpp"
#include "OMCpp<%fileNamePrefix%>Functions.cpp"
<%if(boolOr(Flags.isSet(Flags.HARDCODED_START_VALUES), Flags.isSet(Flags.GEN_DEBUG_SYMBOLS))) then
Expand Down Expand Up @@ -764,6 +763,11 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
MODELICA_EXTERNAL_LIBS=-lModelicaExternalC -lModelicaStandardTables -L$(LAPACK_LIBS) $(LAPACK_LIBRARIES)
LIBS= $(OMCPP_LIBS) $(MODELICA_EXTERNAL_LIBS) $(BASE_LIB)

# need boost system lib prior to C++11
ifneq ($(findstring USE_CPP_ELEVEN,$(CFLAGS)),USE_CPP_ELEVEN)
$(eval LIBS= $(LIBS) -l$(BOOST_SYSTEM_LIB))
endif

CPPFILES=$(CALCHELPERMAINFILE)
OFILES=$(CPPFILES:.cpp=.o)

Expand Down

0 comments on commit b99d59c

Please sign in to comment.