summaryrefslogtreecommitdiff
path: root/sql/CMakeLists.txt
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-10-21 23:07:13 +0200
committerSergei Golubchik <sergii@pisem.net>2011-10-21 23:07:13 +0200
commitaeaa112edbf40f17c7978642539443544241185d (patch)
tree97faebc5269e23af60a451907271bfa11643f353 /sql/CMakeLists.txt
parentb3223453f7e4398ff0f55471ac7dc4aecf2caf8d (diff)
downloadmariadb-git-aeaa112edbf40f17c7978642539443544241185d.tar.gz
fixes for windows
Diffstat (limited to 'sql/CMakeLists.txt')
-rw-r--r--sql/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 90202d8aa7b..7c97aea0c8d 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -100,6 +100,7 @@ TARGET_LINK_LIBRARIES(sql ${MYSQLD_STATIC_PLUGIN_LIBS}
IF(WIN32)
SET(MYSQLD_SOURCE main.cc nt_servc.cc nt_servc.h message.rc)
+ TARGET_LINK_LIBRARIES(sql psapi)
ELSE()
SET(MYSQLD_SOURCE main.cc ${DTRACE_PROBES_ALL})
ENDIF()