aboutsummaryrefslogtreecommitdiff
path: root/primedev/wsockproxy/CMakeLists.txt
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2024-06-28 00:44:59 +0200
committerGitHub <noreply@github.com>2024-06-28 00:44:59 +0200
commit778e338335f4323892b469971c057efc2845d822 (patch)
treee6974070551128c5e2a5283647780ccea5b054b5 /primedev/wsockproxy/CMakeLists.txt
parent4d8798e5ccc01d10bb7109a3ca19f4f5b54471c6 (diff)
downloadNorthstarLauncher-778e338335f4323892b469971c057efc2845d822.tar.gz
NorthstarLauncher-778e338335f4323892b469971c057efc2845d822.zip
Remove precompiled header from wsock proxy (#739)
The wsock proxy is so small and self contained that it really does not benefit from a precompiled header.
Diffstat (limited to 'primedev/wsockproxy/CMakeLists.txt')
-rw-r--r--primedev/wsockproxy/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/primedev/wsockproxy/CMakeLists.txt b/primedev/wsockproxy/CMakeLists.txt
index b1d03ce7..3f6bce45 100644
--- a/primedev/wsockproxy/CMakeLists.txt
+++ b/primedev/wsockproxy/CMakeLists.txt
@@ -32,14 +32,13 @@ target_link_libraries(
odbccp32.lib
)
-target_precompile_headers(
+target_compile_definitions(
loader_wsock32_proxy
- PRIVATE
- pch.h
+ PRIVATE UNICODE
+ _UNICODE
+ WIN32_LEAN_AND_MEAN
)
-target_compile_definitions(loader_wsock32_proxy PRIVATE UNICODE _UNICODE)
-
set_target_properties(
loader_wsock32_proxy
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${NS_BINARY_DIR}/bin/x64_retail