mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-19 08:17:05 +01:00
Protect vs. missing LIME libarary
This commit is contained in:
@ -31,11 +31,13 @@ directory
|
||||
|
||||
NAMESPACE_BEGIN(Grid);
|
||||
template <class T> void writeFile(T& out, std::string const fname){
|
||||
#ifdef HAVE_LIME
|
||||
emptyUserRecord record;
|
||||
ScidacWriter WR(out.Grid()->IsBoss());
|
||||
WR.open(fname);
|
||||
WR.writeScidacFieldRecord(out,record,0,Grid::BinaryIO::BINARYIO_LEXICOGRAPHIC);
|
||||
WR.close();
|
||||
#endif
|
||||
}
|
||||
NAMESPACE_END(Grid);
|
||||
int main(int argc, char **argv) {
|
||||
|
Reference in New Issue
Block a user