diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 06d9186..b37b3f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -116,8 +116,11 @@ if(WIN32) | |||
116 | add_definitions(-D_CRT_SECURE_NO_WARNINGS) | 116 | add_definitions(-D_CRT_SECURE_NO_WARNINGS) |
117 | add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) | 117 | add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) |
118 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) | 118 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) |
119 | add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) | ||
120 | add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) | 119 | add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) |
120 | add_definitions(-DWIN32_LEAN_AND_MEAN) | ||
121 | if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") | ||
122 | add_definitions(-D_WIN32_WINNT=0x0600) | ||
123 | endif() | ||
121 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32 bcrypt) | 124 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32 bcrypt) |
122 | endif() | 125 | endif() |
123 | 126 | ||