From a797d808b558354439a1ffbc2dd69c1d1a71f782 Mon Sep 17 00:00:00 2001 From: Bohan Yu Date: Wed, 13 May 2020 21:00:52 +0800 Subject: [PATCH] Change cases of Windows include file and link library When cross-compiling on case sensitive systems, such as Linux, there will be an Error. --- cmake/OpenSSL.cmake | 2 +- src/backend/opencl/OclCache_win.cpp | 2 +- src/crypto/rx/Rx_win.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/OpenSSL.cmake b/cmake/OpenSSL.cmake index 53e970dfe..898053010 100644 --- a/cmake/OpenSSL.cmake +++ b/cmake/OpenSSL.cmake @@ -5,7 +5,7 @@ if (WITH_TLS) set(OPENSSL_USE_STATIC_LIBS TRUE) set(OPENSSL_MSVC_STATIC_RT TRUE) - set(EXTRA_LIBS ${EXTRA_LIBS} Crypt32) + set(EXTRA_LIBS ${EXTRA_LIBS} crypt32) elseif (APPLE) set(OPENSSL_USE_STATIC_LIBS TRUE) endif() diff --git a/src/backend/opencl/OclCache_win.cpp b/src/backend/opencl/OclCache_win.cpp index c6da323cd..818381489 100644 --- a/src/backend/opencl/OclCache_win.cpp +++ b/src/backend/opencl/OclCache_win.cpp @@ -24,7 +24,7 @@ #include -#include +#include #include diff --git a/src/crypto/rx/Rx_win.cpp b/src/crypto/rx/Rx_win.cpp index ee8aceb43..ff3259f2e 100644 --- a/src/crypto/rx/Rx_win.cpp +++ b/src/crypto/rx/Rx_win.cpp @@ -36,7 +36,7 @@ #include "crypto/rx/RxConfig.h" -#include +#include #include #include #include