summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-01-10 11:52:15 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2018-01-10 11:52:15 +0000
commit6d452600fa5c351670c9200e7c48f1da1191c5b8 (patch)
treedc50698b1c31be8805ff88f5aa700e494086e80c /src/annotated_commit.c
parenta7e36d3d9c473647f141b24d398a98171744ceee (diff)
downloadlibgit2-cmn/cmake-feature-302.tar.gz
cmake: use a FEATURE_SUMMARY call compatible with 3.0.2cmn/cmake-feature-302
When we print features, we make an effort to support all the way back to pre-3.0. However, in the code for versions from 3 onward we call `FEATURE_SUMMARY` with multiple kinds of elements to print in the same line. This is only supported in CMake 3.1 and later, making the rather popular CMake 3.0.2 unable to build the library. Use a single kind of element per invocation. This means we need to provide a "description" text, which CMake provides for us if provide multiple kinds of elements.
Diffstat (limited to 'src/annotated_commit.c')
0 files changed, 0 insertions, 0 deletions