# Vendored subset of GEMMI (Global Phasing), v0.7.5. A single static `gemmi` target with all
# the compiled sources: symmetry/MTZ/XDS I/O plus the atomic-model reading and structure-factor /
# bulk-solvent / map machinery (pdb, ccp4, calculate, eig3, resinfo, polyheur).
ADD_LIBRARY(gemmi STATIC
        symmetry.cpp gz.cpp mtz.cpp sprintf.cpp xds_ascii.cpp
        pdb.cpp resinfo.cpp polyheur.cpp calculate.cpp eig3.cpp ccp4.cpp
        gemmi/cellred.hpp
        gemmi/symmetry.hpp
        gemmi/fail.hpp
        gemmi/unitcell.hpp
        gemmi/math.hpp)
TARGET_INCLUDE_DIRECTORIES(gemmi PUBLIC .)
TARGET_LINK_LIBRARIES(gemmi PRIVATE ZLIB::ZLIB)
