aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/windows/ArchSetup.cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-02-13 20:45:00 +0100
committerRechi <Rechi@users.noreply.github.com>2018-02-13 20:45:00 +0100
commit777b33d144c7143e72313dc921fff5f27ce20319 (patch)
tree685e20a73ae0000f59198b798c06416e1f1b9d35 /cmake/scripts/windows/ArchSetup.cmake
parentab218e62b90b4f13389840212a5f9aafbd488165 (diff)
[windows] define WIN32_LEAN_AND_MEAN globally
Diffstat (limited to 'cmake/scripts/windows/ArchSetup.cmake')
-rw-r--r--cmake/scripts/windows/ArchSetup.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/windows/ArchSetup.cmake b/cmake/scripts/windows/ArchSetup.cmake
index 40df029634..ddac940a03 100644
--- a/cmake/scripts/windows/ArchSetup.cmake
+++ b/cmake/scripts/windows/ArchSetup.cmake
@@ -32,7 +32,7 @@ set(PYTHON_INCLUDE_DIR ${DEPENDENCIES_DIR}/include/python)
add_options(CXX ALL_BUILDS "/wd\"4996\"")
set(ARCH_DEFINES -D_WINDOWS -DTARGET_WINDOWS -DTARGET_WINDOWS_DESKTOP -D__SSE__ -D__SSE2__)
-set(SYSTEM_DEFINES -DNOMINMAX -DHAS_DX -D__STDC_CONSTANT_MACROS
+set(SYSTEM_DEFINES -DWIN32_LEAN_AND_MEAN -DNOMINMAX -DHAS_DX -D__STDC_CONSTANT_MACROS
-DTAGLIB_STATIC -DNPT_CONFIG_ENABLE_LOGGING
-DPLT_HTTP_DEFAULT_USER_AGENT="UPnP/1.0 DLNADOC/1.50 Kodi"
-DPLT_HTTP_DEFAULT_SERVER="UPnP/1.0 DLNADOC/1.50 Kodi"