diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 22:10:51 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-14 07:25:41 -0500 |
commit | 395b3dc403621f1ab3c400780b057cae91c6f6c1 (patch) | |
tree | c012f69c57644e5b6cd39dc8fce78c46b8d2ff19 /cmake/SelectHashes.cmake | |
parent | c3fec45645e6939b3604d2d233be6f97ff629f87 (diff) | |
download | libgit2-395b3dc403621f1ab3c400780b057cae91c6f6c1.tar.gz |
cmake: refactor global variables
Update the global variables `LIBGIT2_OBJECTS` to
`LIBGIT2_DEPENDENCY_OBJECTS` for clarity and consistency.
Diffstat (limited to 'cmake/SelectHashes.cmake')
-rw-r--r-- | cmake/SelectHashes.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/SelectHashes.cmake b/cmake/SelectHashes.cmake index fee8b2902..fdefb57fd 100644 --- a/cmake/SelectHashes.cmake +++ b/cmake/SelectHashes.cmake @@ -3,10 +3,10 @@ include(SanitizeBool) # USE_SHA1=CollisionDetection(ON)/HTTPS/Generic/OFF - sanitizebool(USE_SHA1) + if(USE_SHA1 STREQUAL ON) - set(USE_SHA1 "CollisionDetection") + SET(USE_SHA1 "CollisionDetection") elseif(USE_SHA1 STREQUAL "HTTPS") if(USE_HTTPS STREQUAL "SecureTransport") set(USE_SHA1 "CommonCrypto") |