• Show log

    Commit

  • Hash : 0e709032
    Author : Patrick Steinhardt
    Date : 2017-10-09T10:55:02

    cmake: fix linking in Xcode with object libraries only
    
    CMake is unable to generate a correct Xcode project when trying to link
    libraries with only object libraries as its input. As our new build
    infrastructure makes heavy use of object libraries now, this affects our
    libgit2 library target, as well, leading to linking errors.
    
    Fix the issue by adding a dummy file to the libgit2 objects. As we
    always have the "features.h" header ready which contains defines only,
    we can simply link it into the resulting library without any effect
    whatsoever. This fixes building with Xcode.