Skip to content

Commit ba9c13f

Browse files
committed
BLD: require libobjcryst 2017.2.1 or later
When building with libobjcryst require this minimum version.
1 parent 58afe78 commit ba9c13f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/diffpy/srreal/ObjCrystStructureAdapter.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
#include <cmath>
2424
#include <set>
2525

26+
#include <ObjCryst/version.h>
2627
#include <diffpy/srreal/ObjCrystStructureAdapter.hpp>
2728

29+
#if LIBOBJCRYST_VERSION < 2017002001000LL
30+
#error libdiffpy requires libobjcryst 2017.2.1 or later.
31+
#endif
32+
2833
using namespace std;
2934

3035
namespace diffpy {

0 commit comments

Comments
 (0)