diff options
Diffstat (limited to 'cmake/dbus')
-rw-r--r-- | cmake/dbus/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index 4957b13c..68ec4f05 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -205,7 +205,6 @@ set(libdbus_HEADERS ${DBUS_UTIL_HEADERS} ) -set(CMAKE_DEBUG_POSTFIX "d") if(MSVC) add_library(dbus-1 STATIC ${libdbus_SOURCES} ${libdbus_HEADERS} ) project_source_group(${GROUP_CODE} libdbus_SOURCES libdbus_HEADERS) @@ -234,10 +233,10 @@ install_files(/include/dbus FILES ${dbusinclude_HEADERS}) if (DBUS_BUILD_TESTS) set (TESTS_ENVIRONMENT "DBUS_TEST_DATA=${CMAKE_SOURCE_DIR}/test/data DBUS_TEST_HOMEDIR=${CMAKE_BUILD_DIR}/dbus") - ADD_EXECUTABLE(dbus-test${CMAKE_EXE_POSTFIX} ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c) - target_link_libraries(dbus-test${CMAKE_EXE_POSTFIX} dbus-1 ${LIBS}) - add_test(dbus-test${CMAKE_EXE_POSTFIX} ${EXECUTABLE_OUTPUT_PATH}/dbus-test ${CMAKE_SOURCE_DIR}/../test/data) - install_targets(/bin dbus-test${CMAKE_EXE_POSTFIX}) + ADD_EXECUTABLE(dbus-test ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c) + target_link_libraries(dbus-test dbus-1 ${LIBS}) + add_test(dbus-test ${EXECUTABLE_OUTPUT_PATH}/dbus-test ${CMAKE_SOURCE_DIR}/../test/data) + #install_targets(/bin dbus-test) ENDIF (DBUS_BUILD_TESTS) if (UNIX) |