diff options
author | Thomas White <taw@physics.org> | 2018-05-29 13:03:59 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-05-29 13:07:01 +0200 |
commit | aec4f464f1914fa04eef384f6cb5fe84db4d43c8 (patch) | |
tree | a088dfefeea08491d74af6ee7817c841ba9e014e /libcrystfel/config.h.cmake.in | |
parent | 487cb42d6553295deaa5595a913ee9d9dedbb112 (diff) |
Move libcrystfel-specific dependencies to libcrystfel folder
Diffstat (limited to 'libcrystfel/config.h.cmake.in')
-rw-r--r-- | libcrystfel/config.h.cmake.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libcrystfel/config.h.cmake.in b/libcrystfel/config.h.cmake.in new file mode 100644 index 00000000..36bbba60 --- /dev/null +++ b/libcrystfel/config.h.cmake.in @@ -0,0 +1,19 @@ +/* config.h for libcrystfel */ + +#cmakedefine HAVE_CLOCK_GETTIME +#cmakedefine HAVE_CPU_AFFINITY +#cmakedefine HAVE_FFTW +#cmakedefine HAVE_CL_CL_H +#cmakedefine HAVE_XGANDALF +#cmakedefine HAVE_FDIP +#cmakedefine HAVE_CURSES + +/* We avoid adding the full path to cbf.h, because CBFlib unhelpfully installs + * some conflicting HDF5 headers which we want to keep out of the include path. + * Unfortunately, sometimes CBFlib installs cbf/cbf.h, other times cbflib/cbf.h. + * These defines tell whether we have CBFlib at all, and if so, what to #include */ +#cmakedefine HAVE_CBFLIB +#cmakedefine HAVE_CBF_CBF_H +#cmakedefine HAVE_CBFLIB_CBF_H + +#define CRYSTFEL_VERSIONSTRING "${PROJECT_VERSION}+${GIT_SHA1}" |