Skip to content

Commit

Permalink
Add quotation marks around include directories in FMI export Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Mar 7, 2024
1 parent 38a821d commit 58daf26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HopsanGenerator/src/generators/HopsanFMIGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,8 @@ void HopsanFMIGenerator::replaceNameSpace(const QString &savePath, int version)
bool HopsanFMIGenerator::compileAndLinkFMU(const QString &fmuBuildPath, const QString &fmuStagePath, const QString &modelName, const int version, bool x64) const
{
const QString vStr = QString::number(version);
const QString fmiLibDir=mHopsanRootPath+"/dependencies/fmilibrary";
const QString fmi4cIncludeDir=mHopsanRootPath+"/dependencies/fmi4c/include";
const QString fmiLibDir="\""+mHopsanRootPath+"/dependencies/fmilibrary\"";
const QString fmi4cIncludeDir="\""+mHopsanRootPath+"/dependencies/fmi4c/include\"";

printMessage("------------------------------------------------------------------------");
printMessage("Compiling FMU source code");
Expand Down

0 comments on commit 58daf26

Please sign in to comment.