projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9330ba
)
fixed def file usage for cmake mingw builds
author
Ralf Habacker
<ralf.habacker@freenet.de>
Fri, 19 Mar 2010 20:33:57 +0000
(21:33 +0100)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Fri, 19 Mar 2010 20:33:57 +0000
(21:33 +0100)
cmake/dbus/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/cmake/dbus/CMakeLists.txt
b/cmake/dbus/CMakeLists.txt
index
762783b
..
6e72531
100644
(file)
--- 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)