diff --git a/Geo/GModelIOFourier.cpp b/Geo/GModelIOFourier.cpp index e183149ba55dc5b4c80fc5ff54a8686076e2a9d6..c2361bec8b5e19a288d9e95a4325e085564f0e19 100644 --- a/Geo/GModelIOFourier.cpp +++ b/Geo/GModelIOFourier.cpp @@ -687,4 +687,12 @@ int GModel::readFourier(const std::string &name) return 1; } +#else + +int GModel::readFourier(const std::string &name) +{ + Msg(GERROR, "Fourier model is not compiled in this version of Gmsh"); + return 1; +} + #endif