From c9c76a5f26d0b81a2eee321d3202dc5cf681c8cc Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 4 Jun 2013 08:47:00 +0000
Subject: [PATCH] link psapi.dll on win

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index feaae6ffa7..d88ebc6a36 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
-- 
GitLab