diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2010-03-19 21:33:57 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2010-03-19 21:33:57 +0100 |
commit | 96958b238f1523c99542fb1ea86c86516a75f164 (patch) | |
tree | d921432ec8c97244fa252a36a62401437aa5b851 /cmake | |
parent | b9330ba78024a5cff08134c71d05e89f1432daaa (diff) |
fixed def file usage for cmake mingw builds
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/dbus/CMakeLists.txt | 3 |
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) |