aboutsummaryrefslogtreecommitdiff
path: root/primedev/wsockproxy/CMakeLists.txt
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2024-06-20 16:44:01 +0200
committerGitHub <noreply@github.com>2024-06-20 16:44:01 +0200
commitf1a990575eb87787c77eacb99be29171e4b3098d (patch)
tree8d8ab3c956e9fbf7606c9a756c57ddfd9bef28f8 /primedev/wsockproxy/CMakeLists.txt
parent26fffcfdbaa23def1d2ed0a15e53ed7907883083 (diff)
downloadNorthstarLauncher-f1a990575eb87787c77eacb99be29171e4b3098d.tar.gz
NorthstarLauncher-f1a990575eb87787c77eacb99be29171e4b3098d.zip
Lowercase all linked libraries for building on Linux (#726)
Microsoft, in their infinite wisdom, decided to suffix some libraries with `.Lib` instead of `.lib` This causes issues with cmake on Linux because it only looks for `.lib` which it won't be able to resolve because the file system is case sensitive. Microsoft does this for backwards compatibility, in cmake this is a limitation so the best solution is to bite the bullet and lowercase all libraries which setups such as wine-msvc and xwin already do.
Diffstat (limited to 'primedev/wsockproxy/CMakeLists.txt')
-rw-r--r--primedev/wsockproxy/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/wsockproxy/CMakeLists.txt b/primedev/wsockproxy/CMakeLists.txt
index 0dbac745..b1d03ce7 100644
--- a/primedev/wsockproxy/CMakeLists.txt
+++ b/primedev/wsockproxy/CMakeLists.txt
@@ -15,7 +15,7 @@ target_link_libraries(
PRIVATE minhook
mswsock.lib
ws2_32.lib
- ShLwApi.lib
+ shlwapi.lib
imagehlp.lib
dbghelp.lib
kernel32.lib