summaryrefslogtreecommitdiff
path: root/cmake/SelectHashes.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/SelectHashes.cmake')
-rw-r--r--cmake/SelectHashes.cmake4
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")