diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 00d71dbdc..6cdac1177 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -155,7 +155,8 @@ IF (APPLE) | |||
| 155 | set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++") | 155 | set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++") |
| 156 | ELSEIF(MINGW) | 156 | ELSEIF(MINGW) |
| 157 | # GCC does not support codecvt, so use iconv instead | 157 | # GCC does not support codecvt, so use iconv instead |
| 158 | set(PLATFORM_LIBRARIES winmm ws2_32 iconv) | 158 | # PSAPI is the Process Status API |
| 159 | set(PLATFORM_LIBRARIES winmm ws2_32 psapi iconv) | ||
| 159 | 160 | ||
| 160 | # WSAPoll functionality doesn't exist before WinNT 6.x (Vista and up) | 161 | # WSAPoll functionality doesn't exist before WinNT 6.x (Vista and up) |
| 161 | add_definitions(-D_WIN32_WINNT=0x0600) | 162 | add_definitions(-D_WIN32_WINNT=0x0600) |