Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-05-12 17:35:02 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-05-12 17:35:02 +0400
commit000e68961cb44b04435a733e151f8b1357547bd1 (patch)
tree3e0259068379ce16be804f1cf071d57a4796c62e /tests-clar
parent62221033a8c56d3df420cbb1b123036e3b16dad4 (diff)
CMake: don't try to use bundled zlib when the system's path is in the cache
The code surrounding zlib bundling did not take into consideration that ZLIB_LIBRARY gets cached, and assumed that FIND(ZLIB) would always set ZLIB_FOUND, which does not hold true, as this variable signifies that we have found the package and had to look at the system, as its location was not cached. Only use the bundled sources if the external zlib is neither newly-found nor cached.
Diffstat (limited to 'tests-clar')
0 files changed, 0 insertions, 0 deletions