Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quotation marks around include directories in FMI export Makefile #2202

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading