Skip to content
Snippets Groups Projects
Commit cad14976 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile w/o post

parent 200b4326
Branches
Tags
No related merge requests found
......@@ -440,6 +440,7 @@ int MergeFile(const std::string &fileName, bool warnIfMissing)
int MergePostProcessingFile(const std::string &fileName, bool showLastStep,
bool hideNewViews, bool warnIfMissing)
{
#if defined(HAVE_POST)
// check if there is a mesh in the file
FILE *fp = fopen(fileName.c_str(), "rb");
if(!fp){
......@@ -510,6 +511,9 @@ int MergePostProcessingFile(const std::string &fileName, bool showLastStep,
}
return ret;
#else
return 0;
#endif
}
void ClearProject()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment