summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f26a0c6b8..91ec50bef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -477,8 +477,8 @@ if (APPLE)
477 find_library(COCOA_LIBRARY Cocoa) 477 find_library(COCOA_LIBRARY Cocoa)
478 set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY}) 478 set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
479elseif (WIN32) 479elseif (WIN32)
480 # WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista) 480 # Target Windows 10
481 add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600) 481 add_definitions(-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00)
482 set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi) 482 set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi)
483 if (MINGW) 483 if (MINGW)
484 # PSAPI is the Process Status API 484 # PSAPI is the Process Status API