diff --git a/Common/OpenFile.cpp b/Common/OpenFile.cpp index da305a14822f169c6f9446f4c3e711443dc27a10..2da48961bd61afdd00b95a834fee6d78fad87ba9 100644 --- a/Common/OpenFile.cpp +++ b/Common/OpenFile.cpp @@ -374,7 +374,7 @@ int MergeFile(const std::string &fileName, bool warnIfMissing) status = readFile3M(fileName); } #endif -#if defined(HAVE_ONELAB_METAMODEL) +#if defined(HAVE_ONELAB_METAMODEL) && defined(HAVE_FLTK) else if(ext == ".ol"){ // TODO: allow passing action to metamodel from command line status = metamodel_cb(fileName);