diff options
author | Martin Storsjö <martin@martin.st> | 2021-04-23 09:30:43 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-04-23 14:31:04 +0300 |
commit | 236ae73ed8c8eef3740a93ef18dc31ae9a7f2d79 (patch) | |
tree | c6bdb60e64685b28f78a8bcdb31e8b5f13a54660 /cmake | |
parent | 0a1256a52d8c6c1b85a10f7dc94dfc34e3540040 (diff) |
Lowercase system includes and lib names for Windows, fix cross compiling
When cross compiling from a case sensitive file system, casing
matters, and mingw headers and import libraries consistently
use lowercase.
This was uncovered by d385158d5213ef568b7629e2aa4a818016bbffac;
prior to that, the schannel TLS plugin didn't end up built (at
least when cross compiling).
Fix other similar cases that can be found by grepping the repo.
Change-Id: Ia696e17b7aaa979d7b7f5b0801383f338a8b585b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindWrapOpenSSL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindWrapOpenSSL.cmake b/cmake/FindWrapOpenSSL.cmake index a09aa99518..b4481f3c09 100644 --- a/cmake/FindWrapOpenSSL.cmake +++ b/cmake/FindWrapOpenSSL.cmake @@ -18,7 +18,7 @@ if(OpenSSL_FOUND) else() set(writableLib OpenSSL::Crypto) endif() - set_property(TARGET ${writableLib} APPEND PROPERTY INTERFACE_LINK_LIBRARIES Ws2_32 Crypt32) + set_property(TARGET ${writableLib} APPEND PROPERTY INTERFACE_LINK_LIBRARIES ws2_32 crypt32) unset(libType) unset(writableLib) endif() |