summaryrefslogtreecommitdiff
path: root/cmake/bus
diff options
context:
space:
mode:
authorFrank Osterfeld <frank@kdab.net>2009-04-27 20:52:52 +0200
committerunknown <Administrator@.(none)>2009-11-30 11:09:24 +0100
commit6e8fcdf889bf783425907dd116a142b6ab2d6f93 (patch)
tree740449b2c0667539cc2a857f2a6e7b787939fb08 /cmake/bus
parenta7330a9673fcb537733a7275d7bc54ff330e4ab1 (diff)
downloaddbus-6e8fcdf889bf783425907dd116a142b6ab2d6f93.tar.gz
do not add d suffix on non-windows (cherry picked from commit 27980491d3cac6166c30c4adc2c71d80c3e4e13a)
Diffstat (limited to 'cmake/bus')
-rw-r--r--cmake/bus/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt
index 15aca8e7..4d7e8a11 100644
--- a/cmake/bus/CMakeLists.txt
+++ b/cmake/bus/CMakeLists.txt
@@ -86,7 +86,9 @@ else(splitlib AND MSVC)
add_executable(dbus-daemon ${BUS_SOURCES} ${BUS_DIR}/main.c)
target_link_libraries(dbus-daemon ${DBUS_1} ${LIBS})
endif(splitlib AND MSVC)
-set_target_properties(dbus-daemon PROPERTIES DEBUG_POSTFIX d)
+if(WIN32)
+ set_target_properties(dbus-daemon PROPERTIES DEBUG_POSTFIX d)
+endif(WIN32)
install_targets(/bin dbus-daemon)
install_files(/etc FILES ${config_DATA})
@@ -102,8 +104,9 @@ if (DBUS_SERVICE)
add_executable(dbus-service ${dbus_service_SOURCES} )
target_link_libraries(dbus-service ${DBUS_1} ${LIBS})
install_targets(/bin dbus-service )
- set_target_properties(dbus-service PROPERTIES DEBUG_POSTFIX d)
-
+ if(WIN32)
+ set_target_properties(dbus-service PROPERTIES DEBUG_POSTFIX d)
+ endif(WIN32)
endif (DBUS_SERVICE)
## note that TESTS has special meaning (stuff to use in make check)