Change cases of Windows include file and link library

When cross-compiling on case sensitive systems, such as Linux, there will be an Error.
This commit is contained in:
Bohan Yu 2020-05-13 21:00:52 +08:00
parent a8e91bb888
commit a797d808b5
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ if (WITH_TLS)
set(OPENSSL_USE_STATIC_LIBS TRUE) set(OPENSSL_USE_STATIC_LIBS TRUE)
set(OPENSSL_MSVC_STATIC_RT TRUE) set(OPENSSL_MSVC_STATIC_RT TRUE)
set(EXTRA_LIBS ${EXTRA_LIBS} Crypt32) set(EXTRA_LIBS ${EXTRA_LIBS} crypt32)
elseif (APPLE) elseif (APPLE)
set(OPENSSL_USE_STATIC_LIBS TRUE) set(OPENSSL_USE_STATIC_LIBS TRUE)
endif() endif()

View file

@ -24,7 +24,7 @@
#include <direct.h> #include <direct.h>
#include <Shlobj.h> #include <shlobj.h>
#include <windows.h> #include <windows.h>

View file

@ -36,7 +36,7 @@
#include "crypto/rx/RxConfig.h" #include "crypto/rx/RxConfig.h"
#include <Windows.h> #include <windows.h>
#include <array> #include <array>
#include <string> #include <string>
#include <thread> #include <thread>