diff --git a/CMakeLists.txt b/CMakeLists.txt
index feaae6ffa7c34e08fb11b6b989dc1f082d85b63c..d88ebc6a36357ac2d55e11988e710b5e3c9e2a5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1028,7 +1028,7 @@ if(MSVC)
 endif(MSVC)
 
 if(WIN32 OR CYGWIN)
-  list(APPEND EXTERNAL_LIBRARIES winmm wsock32 ws2_32)
+  list(APPEND EXTERNAL_LIBRARIES winmm wsock32 ws2_32 psapi)
 endif(WIN32 OR CYGWIN)
 
 # disable compile optimization on some known problematic files