summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2010-03-19 21:33:57 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2010-03-19 21:33:57 +0100
commit96958b238f1523c99542fb1ea86c86516a75f164 (patch)
treed921432ec8c97244fa252a36a62401437aa5b851 /cmake
parentb9330ba78024a5cff08134c71d05e89f1432daaa (diff)
fixed def file usage for cmake mingw builds
Diffstat (limited to 'cmake')
-rw-r--r--cmake/dbus/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt
index 762783b5..6e72531e 100644
--- a/cmake/dbus/CMakeLists.txt
+++ b/cmake/dbus/CMakeLists.txt
@@ -285,6 +285,9 @@ add_library(dbus-1 SHARED
${DBUS_LIB_HEADERS}
${DBUS_SHARED_HEADERS})
if(WIN32)
+ if (MINGW)
+ set_target_properties(dbus-1 PROPERTIES LINK_FLAGS "${DBUS_LIB_DEF}")
+ endif (MINGW)
target_link_libraries(dbus-1 ws2_32 advapi32 netapi32)
endif(WIN32)