diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-09-06 07:52:12 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-09-20 15:26:26 +0200 |
commit | d8d2f21e24933cddabf30f2d4a4ddf1be0072e56 (patch) | |
tree | 5c404ee7e2671b396cd5f8e6d7a0b521ffe79d30 /deps | |
parent | 172a585f8860f87c80800add5bf6d47470bb0f7e (diff) | |
download | libgit2-d8d2f21e24933cddabf30f2d4a4ddf1be0072e56.tar.gz |
cmake: unify version check for target include directories
There are two locations where we check whether CMake supports
`TARGET_INCLUDE_DIRECTORIES`. While the first one uses `VERSION_LESS
2.8.12`, the second one uses `VERSION_GREATER 2.8.11`, which are
obviously equivalent to each other. It'd still be easier to grep for
specific CMake versions being required for some features if both used
the same conditional mentioning the actual target version required. So
this commit refactors these conditions to make them equal.
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions